Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-47706 EUVD-2026-34269GHSA-qfwv-87qj-98xqPYSEC-2026-2283

Strawberry GraphQL has a Circular Fragment Reference DOS

Published Jun 4, 2026 · Updated Jun 4, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
strawberry-graphql strawberry >= 0.71.0, < 0.315.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI strawberry-graphql >= 0.71.0, < 0.315.7 0.315.7 GHSA-qfwv-87qj-98xq

References