Skip to main content
← All vulnerabilities
CVE-2026-47707PYSEC-2026-2284GHSA-FR49-MHGJ-CRFC

Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.315.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.172.0 through0.315.6, the MaxAliasesLimiter extension in Strawberry fails to account for the multiplicative/amplification effect of FragmentSpreadNode. While it correctly counts static aliases within the AST it does not consider how many times a fragments internal aliases are expanded during execution. this allows an attacker to bypass alias limits and force the server to resolve and render a significantly higher number of aliases than allowed, potentially leading to a dos via resource exhaustion. Version 0.315.7 contains a fix for the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • strawberry-graphql strawberry

    From 0.172.0 · fixed in 0.315.7

  • strawberry-graphqlPyPI

    From 0.172.0 · fixed in 0.315.7

References 2

GitHub · strawberry-graphql/strawberry