CVE-2026-47706

Strawberry GraphQL has a Circular Fragment Reference DOS

State
Published
Severity
5.3 Medium
Published
Jun 4, 2026
Updated
Jun 4, 2026
Reserved
May 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption
  • CWE-674 Uncontrolled Recursion

Affected Products

ProductVersions
strawberrystrawberry-graphql
  • >= 0.71.0, < 0.315.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.