CVE-2026-47707
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.
How to fix
- strawberry strawberry_graphql0.315.7 or later
- strawberry-graphql0.315.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strawberry strawberry_graphql | 0.172.0 ≤ v < 0.315.7 | 0.315.7 |
| strawberry-graphqlPyPI | 0.172.0 ≤ v < 0.315.7 | 0.315.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.