Home

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.

PUBLISHED Reserved 2026-05-19 | Published 2026-06-04 | Updated 2026-06-04 | Assigner GitHub_M




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem types

CWE-400: Uncontrolled Resource Consumption

CWE-674: Uncontrolled Recursion

Product status

>= 0.71.0, < 0.315.7
affected

References

github.com/...wberry/security/advisories/GHSA-qfwv-87qj-98xq

github.com/...wberry-graphql/strawberry/releases/tag/0.315.7

cve.org (CVE-2026-47706)

nvd.nist.gov (CVE-2026-47706)

Download JSON