Application-level DOS Vulnerability in Strawberry GraphQL Library
CVE-2026-47706
5.3MEDIUM
What is CVE-2026-47706?
The Strawberry GraphQL library, used for building GraphQL APIs, is vulnerable to an Application-level Denial of Service (DoS) due to inadequate cycle detection in its QueryDepthLimiter extension. Specifically, versions 0.71.0 through 0.315.6 can be exploited when a query contains circular fragment references, which causes the determine_depth function to enter an infinite recursion. This leads to a RecursionError that crashes the validation process, potentially rendering applications using the library inoperable. Users are encouraged to upgrade to version 0.315.7 or later, where this issue has been patched.
Affected Version(s)
strawberry >= 0.71.0, < 0.315.7
