Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify public GraphQL endpoint
-
DeliveryCraft query with high-alias fragment definition
-
ExploitSpread fragment many times in single query
-
InstallSubmit unauthenticated HTTP POST
-
C2MaxAliasesLimiter bypassed at static check
-
ExecuteServer resolves amplified alias count
-
ImpactResource exhaustion causes DoS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Strawberry GraphQL endpoint must have the MaxAliasesLimiter extension explicitly configured in the schema (e.g., extensions=[MaxAliasesLimiter(max_alias_count=N)]); deployments that never enabled this extension simply have no alias limit and are exposed to unconstrained alias abuse by a different path. The CVSS vector PR:N confirms no authentication is required. No special platform, OS, or network topology is needed beyond TCP reachability to the GraphQL HTTP endpoint. Exploitation is limited in practice by: the requirement that MaxAliasesLimiter be present (non-default; must be explicitly added), the partial availability impact (server slowdown or crash, not data exfiltration), and any upstream rate-limiting or query-size caps applied by the hosting infrastructure. |
| Impact | The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L scores 5.3 (Medium), reflecting trivial network reachability with no authentication or user interaction required, but only partial availability impact. The low CVSS impact rating is consistent with the vulnerability class - this is a resource exhaustion issue, not code execution. However, the zero-friction exploitation profile (AV:N/AC:L/PR:N/UI:N) means any Internet-exposed GraphQL endpoint using MaxAliasesLimiter is reachable by any unauthenticated attacker. The amplification ratio scales with query complexity and server resources, so impact severity is configuration-dependent. No EPSS score was included in the provided data and the CVE is not listed in CISA KEV, indicating no confirmed widespread exploitation. A working PoC is publicly available in the GHSA advisory, which meaningfully lowers the bar for exploitation. Overall priority is moderate: real DoS risk for public-facing APIs, low urgency for internal or authenticated-only deployments. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a single HTTP POST to a publicly exposed /graphql endpoint containing a crafted query that defines a fragment with 10 aliases and spreads it 100 times across different field aliases in the main query body. The MaxAliasesLimiter observes only the static fragment definition once and passes the query as within limits, while the execution engine resolves 1,000 aliases, far exceeding the intended cap and driving CPU and memory consumption on the server. A working proof-of-concept demonstrating this technique is publicly available in GHSA advisory GHSA-fr49-mhgj-crfc. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Denial-of-service via alias amplification in Strawberry GraphQL (versions 0.172.0 through 0.315.6) allows unauthenticated remote attackers to exhaust server resources by bypassing the MaxAliasesLimiter extension using crafted GraphQL fragment spreads. The limiter performs only a static AST alias count, missing the multiplicative expansion that occurs at execution time when a fragment containing N aliases is spread M times - producing N×M resolved aliases against a limit enforced at N+M. A publicly available proof-of-concept exists demonstrating the bypass; no active exploitation has been confirmed in CISA KEV at time of analysis.
RemediationAI
Upgrade to Strawberry GraphQL version 0.315.7, which expands fragment spreads when counting aliases and correctly enforces the configured alias limit at execution-time multiplicity. The release is available at https://github.com/strawberry-graphql/strawberry/releases/tag/0.315.7 and was contributed via pull request #4421. If an immediate upgrade is not feasible, a compensating control is to restrict GraphQL query complexity at the network or application layer - for example, by limiting maximum query body size via web server or API gateway configuration, or by disabling anonymous/unauthenticated access to the GraphQL endpoint to reduce attacker surface. Neither workaround fully mitigates the amplification flaw; authenticated-only access meaningfully reduces risk for internal APIs but does not fix the underlying bypass for any environment where credentials are obtainable. The 0.315.7 release also fixes a related circular-fragment recursion issue in QueryDepthLimiter (GHSA-qfwv-87qj-98xq), making the upgrade doubly beneficial.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strawberry GraphQL (CPE: cpe:2.3:a:strawberry-graphql:strawberry:*:*:*:*:*:*:*:*) is a Python library for building GraphQL APIs, commonly integrated with FastAPI or Django. The MaxAliasesLimiter extension in strawberry/extensions/max_aliases.py is a denial-of-service guard that caps the number of field aliases a query may declare. The root cause (CWE-400: Uncontrolled Resource Consumption) is a logic flaw: alias counting traverses FieldNode and InlineFragmentNode selections statically but does not recurse into or multiply aliases found inside FragmentSpreadNode references. Since GraphQL execution expands each fragment spread independently at runtime, a fragment with 10 aliases spread 10 times resolves 100 aliases against a limit that only sees 10. The fix in 0.315.7 corrects both MaxAliasesLimiter and QueryDepthLimiter to expand fragment spreads during counting.
Know when Strawberry gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Strawberry
View allStrawberry GraphQL versions 0.217.0 through 0.326.0 contain an authorization bypass in which a custom permission class w
Infinite recursion in Strawberry GraphQL's QueryDepthLimiter extension allows unauthenticated remote attackers to crash
Strawberry GraphQL is a library for creating GraphQL APIs. Rated high severity (CVSS 8.0), this vulnerability is remotel
Uncontrolled resource consumption in the Strawberry GraphQL library's legacy graphql-ws subscription handler (versions 0
EUVD-2026-34271
GHSA-fr49-mhgj-crfc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB