Skip to main content

Strawberry GraphQL EUVDEUVD-2026-34271

| CVE-2026-47707 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-06-04 GitHub_M GHSA-fr49-mhgj-crfc
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify public GraphQL endpoint
  2. Delivery
    Craft query with high-alias fragment definition
  3. Exploit
    Spread fragment many times in single query
  4. Install
    Submit unauthenticated HTTP POST
  5. C2
    MaxAliasesLimiter bypassed at static check
  6. Execute
    Server resolves amplified alias count
  7. Impact
    Resource exhaustion causes DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Strawberry GraphQL endpoint must have the MaxAliasesLimiter extension explicitly configured in the schema (e.g., extensions=[MaxAliasesLimiter(max_alias_count=N)]); deployments that never enabled this extension simply have no alias limit and are exposed to unconstrained alias abuse by a different path. The CVSS vector PR:N confirms no authentication is required. No special platform, OS, or network topology is needed beyond TCP reachability to the GraphQL HTTP endpoint. Exploitation is limited in practice by: the requirement that MaxAliasesLimiter be present (non-default; must be explicitly added), the partial availability impact (server slowdown or crash, not data exfiltration), and any upstream rate-limiting or query-size caps applied by the hosting infrastructure.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L scores 5.3 (Medium), reflecting trivial network reachability with no authentication or user interaction required, but only partial availability impact. The low CVSS impact rating is consistent with the vulnerability class - this is a resource exhaustion issue, not code execution. However, the zero-friction exploitation profile (AV:N/AC:L/PR:N/UI:N) means any Internet-exposed GraphQL endpoint using MaxAliasesLimiter is reachable by any unauthenticated attacker. The amplification ratio scales with query complexity and server resources, so impact severity is configuration-dependent. No EPSS score was included in the provided data and the CVE is not listed in CISA KEV, indicating no confirmed widespread exploitation. A working PoC is publicly available in the GHSA advisory, which meaningfully lowers the bar for exploitation. Overall priority is moderate: real DoS risk for public-facing APIs, low urgency for internal or authenticated-only deployments.

Exploit ScenarioDerived

An unauthenticated attacker sends a single HTTP POST to a publicly exposed /graphql endpoint containing a crafted query that defines a fragment with 10 aliases and spreads it 100 times across different field aliases in the main query body. The MaxAliasesLimiter observes only the static fragment definition once and passes the query as within limits, while the execution engine resolves 1,000 aliases, far exceeding the intended cap and driving CPU and memory consumption on the server. A working proof-of-concept demonstrating this technique is publicly available in GHSA advisory GHSA-fr49-mhgj-crfc.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 04, 2026

Denial-of-service via alias amplification in Strawberry GraphQL (versions 0.172.0 through 0.315.6) allows unauthenticated remote attackers to exhaust server resources by bypassing the MaxAliasesLimiter extension using crafted GraphQL fragment spreads. The limiter performs only a static AST alias count, missing the multiplicative expansion that occurs at execution time when a fragment containing N aliases is spread M times - producing N×M resolved aliases against a limit enforced at N+M. A publicly available proof-of-concept exists demonstrating the bypass; no active exploitation has been confirmed in CISA KEV at time of analysis.

RemediationAI

Upgrade to Strawberry GraphQL version 0.315.7, which expands fragment spreads when counting aliases and correctly enforces the configured alias limit at execution-time multiplicity. The release is available at https://github.com/strawberry-graphql/strawberry/releases/tag/0.315.7 and was contributed via pull request #4421. If an immediate upgrade is not feasible, a compensating control is to restrict GraphQL query complexity at the network or application layer - for example, by limiting maximum query body size via web server or API gateway configuration, or by disabling anonymous/unauthenticated access to the GraphQL endpoint to reduce attacker surface. Neither workaround fully mitigates the amplification flaw; authenticated-only access meaningfully reduces risk for internal APIs but does not fix the underlying bypass for any environment where credentials are obtainable. The 0.315.7 release also fixes a related circular-fragment recursion issue in QueryDepthLimiter (GHSA-qfwv-87qj-98xq), making the upgrade doubly beneficial.

Affected VersionsENISA

strawberry 0.172.0, < 0.315.7

Affected Packages

pypi strawberry-graphql fix: 0.315.7
euvd strawberry_0_172_0 fix: 0.315.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Strawberry GraphQL (CPE: cpe:2.3:a:strawberry-graphql:strawberry:*:*:*:*:*:*:*:*) is a Python library for building GraphQL APIs, commonly integrated with FastAPI or Django. The MaxAliasesLimiter extension in strawberry/extensions/max_aliases.py is a denial-of-service guard that caps the number of field aliases a query may declare. The root cause (CWE-400: Uncontrolled Resource Consumption) is a logic flaw: alias counting traverses FieldNode and InlineFragmentNode selections statically but does not recurse into or multiply aliases found inside FragmentSpreadNode references. Since GraphQL execution expands each fragment spread independently at runtime, a fragment with 10 aliases spread 10 times resolves 100 aliases against a limit that only sees 10. The fix in 0.315.7 corrects both MaxAliasesLimiter and QueryDepthLimiter to expand fragment spreads during counting.

Know when Strawberry gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 04, 2026 - 16:16 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy