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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-400",
"CWE-674"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47706.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.71.0"
},
{
"fixed": "0.315.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "0.315.7",
"range": [
{
"fixed": "a69221fb0b86583ceb5755758b294c8319021fd1"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0.71.0"
},
{
"fixed": "0.315.7"
}
],
"source": "CPE_RANGE"
}
]
}