What’s Vulnerable › Vulnerabilities
CVE-2026-47707: Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-04 · updated 2026-07-22
- Weakness: CWE-400
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.
Affected products
- strawberry-graphql strawberry: from 0.172.0 before 0.315.7 — fixed in 0.315.7
How to fix
Upgrade to a fixed version: strawberry-graphql strawberry 0.315.7. Check the vendor advisory for mitigations.
References
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.315.7
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-fr49-mhgj-crfc
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-fr49-mhgj-crfc
Get alerted when CVE-2026-47707 or the next vulnerability affects your stack