CVE-2026-47707: CWE-400: Uncontrolled Resource Consumption in strawberry-graphql strawberry
Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.172.0 through0.315.6, the MaxAliasesLimiter extension in Strawberry fails to account for the multiplicative/amplification effect of FragmentSpreadNode. While it correctly counts static aliases within the AST it does not consider how many times a fragments internal aliases are expanded during execution. this allows an attacker to bypass alias limits and force the server to resolve and render a significantly higher number of aliases than allowed, potentially leading to a dos via resource exhaustion. Version 0.315.7 contains a fix for the issue.
AI Analysis
Technical Summary
The strawberry-graphql library's MaxAliasesLimiter extension is designed to limit the number of aliases in GraphQL queries to prevent resource exhaustion. However, in versions from 0.172.0 up to but not including 0.315.7, it fails to consider how fragment spreads multiply the number of aliases during query execution. While static aliases in the AST are counted correctly, the dynamic expansion of fragments is not accounted for, enabling attackers to bypass alias limits and force the server to process significantly more aliases than intended. This can lead to excessive resource consumption and a denial of service condition. The vulnerability is tracked as CWE-400 (Uncontrolled Resource Consumption). A fix is available in version 0.315.7.
Potential Impact
An attacker can craft GraphQL queries that exploit the fragment spread amplification to bypass alias limits, causing the server to resolve and render many more aliases than allowed. This results in excessive resource consumption, potentially leading to denial of service by exhausting server resources. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade strawberry-graphql to version 0.315.7 or later, where this vulnerability is fixed. No other mitigations are specified or required as the issue is resolved in the official patch release.
CVE-2026-47707: CWE-400: Uncontrolled Resource Consumption in strawberry-graphql strawberry
Description
Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.172.0 through0.315.6, the MaxAliasesLimiter extension in Strawberry fails to account for the multiplicative/amplification effect of FragmentSpreadNode. While it correctly counts static aliases within the AST it does not consider how many times a fragments internal aliases are expanded during execution. this allows an attacker to bypass alias limits and force the server to resolve and render a significantly higher number of aliases than allowed, potentially leading to a dos via resource exhaustion. Version 0.315.7 contains a fix for the issue.
CVSS v3.1
Score 5.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The strawberry-graphql library's MaxAliasesLimiter extension is designed to limit the number of aliases in GraphQL queries to prevent resource exhaustion. However, in versions from 0.172.0 up to but not including 0.315.7, it fails to consider how fragment spreads multiply the number of aliases during query execution. While static aliases in the AST are counted correctly, the dynamic expansion of fragments is not accounted for, enabling attackers to bypass alias limits and force the server to process significantly more aliases than intended. This can lead to excessive resource consumption and a denial of service condition. The vulnerability is tracked as CWE-400 (Uncontrolled Resource Consumption). A fix is available in version 0.315.7.
Potential Impact
An attacker can craft GraphQL queries that exploit the fragment spread amplification to bypass alias limits, causing the server to resolve and render many more aliases than allowed. This results in excessive resource consumption, potentially leading to denial of service by exhausting server resources. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade strawberry-graphql to version 0.315.7 or later, where this vulnerability is fixed. No other mitigations are specified or required as the issue is resolved in the official patch release.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T21:29:25.481Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a218ccee29bf47b50ad1bbe
Added to database: 6/4/2026, 2:33:50 PM
Last enriched: 6/4/2026, 2:48:31 PM
Last updated: 6/4/2026, 4:00:47 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.