Resource exhaustion in Strawberry Graphql
CVE-2026-47706
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 22.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Strawberry Graphql
- Strawberry-Graphql Strawberry — versions >= 0.71.0, < 0.315.7
Weakness classification (CWE)
References
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-qfwv-87qj-98xq (Exploit, Vendor Advisory)
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.315.7 (Product, Release Notes)