PT-2026-46249 · Pypi · Strawberry Graphql
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Strawberry GraphQL versions 0.71.0 through 0.315.6
Description
The QueryDepthLimiter extension is susceptible to an application-level Denial of Service (DoS). This occurs because the
determine depth() function in query depth limiter.py lacks cycle detection when resolving fragment spreads. If a query contains circular fragment references, the function enters an infinite recursion, resulting in a RecursionError that crashes the validation process. This allows an attacker to exhaust server CPU cycles and thread or worker pools since validation occurs before query execution.Recommendations
Update to version 0.315.7.
Exploit
Fix
Uncontrolled Recursion
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Strawberry Graphql