Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-47707: CWE-400: Uncontrolled Resource Consumption in strawberry-graphql strawberry

0
Medium
VulnerabilityCVE-2026-47707cvecve-2026-47707cwe-400
Published: Thu Jun 04 2026 (06/04/2026, 14:12:49 UTC)
Source: CVE Database V5
Vendor/Project: strawberry-graphql
Product: strawberry

Description

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 14:48:31 UTC

Technical Analysis

The strawberry-graphql library's MaxAliasesLimiter extension is designed to limit the number of aliases in GraphQL queries to prevent resource exhaustion. However, in versions from 0.172.0 up to but not including 0.315.7, it fails to consider how fragment spreads multiply the number of aliases during query execution. While static aliases in the AST are counted correctly, the dynamic expansion of fragments is not accounted for, enabling attackers to bypass alias limits and force the server to process significantly more aliases than intended. This can lead to excessive resource consumption and a denial of service condition. The vulnerability is tracked as CWE-400 (Uncontrolled Resource Consumption). A fix is available in version 0.315.7.

Potential Impact

An attacker can craft GraphQL queries that exploit the fragment spread amplification to bypass alias limits, causing the server to resolve and render many more aliases than allowed. This results in excessive resource consumption, potentially leading to denial of service by exhausting server resources. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

Upgrade strawberry-graphql to version 0.315.7 or later, where this vulnerability is fixed. No other mitigations are specified or required as the issue is resolved in the official patch release.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-19T21:29:25.481Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a218ccee29bf47b50ad1bbe

Added to database: 6/4/2026, 2:33:50 PM

Last enriched: 6/4/2026, 2:48:31 PM

Last updated: 6/4/2026, 4:00:47 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses