What’s Vulnerable › Vulnerabilities
CVE-2026-47706: Strawberry GraphQL has a Circular Fragment Reference DOS
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% 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.71.0 through 0.315.6, the QueryDepthLimiter extension is vulnerable to an Application-level DOS due to a lack of cycle detection in fragment spreads. When a query contains circular fragment references the determine_depth function enters an infinite recursion, leading to a RecursionError and crashing the validation process. Version 0.315.7 patches the issue.
Affected products
- strawberry-graphql strawberry: from 0.71.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-qfwv-87qj-98xq
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-qfwv-87qj-98xq
Get alerted when CVE-2026-47706 or the next vulnerability affects your stack