Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen graphql-ws WebSocket connection
-
DeliveryStart one-shot subscriptions with distinct IDs
-
ExploitCompleted operations never freed from slot bookkeeping
-
ExecutionConnection subscription limit exhausted
-
ImpactLegitimate operations rejected on that connection
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 | Exploitation requires three concrete, concurrent conditions: (1) the server must use the LEGACY graphql-ws subscription protocol handler (strawberry/subscriptions/protocols/graphql_ws/handlers.py) - the modern graphql-transport-ws protocol is explicitly unaffected; (2) the server must have max_subscriptions_per_connection explicitly configured (a non-default per-connection cap) - deployments without this cap are not affected; and (3) the Strawberry version must be in range 0.312.3 up to but not including 0.327.2. The limiting factors are significant: impact is confined to the single attacking WebSocket connection and only degrades availability for that connection's own future subscriptions, so it does not affect other clients. Mitigation is to upgrade to 0.327.2, switch to graphql-transport-ws, or remove the per-connection cap. |
| Impact | This is a genuinely low-priority issue despite being network-reachable and unauthenticated. The vendor CVSS vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, 3.7 Low) is internally consistent with the description: AC:H correctly reflects that exploitation only works when the non-default max_subscriptions_per_connection cap is configured AND the legacy graphql-ws protocol is in use, and A:L correctly reflects that the only impact is partial, self-contained availability loss - no confidentiality or integrity effect. Critically, the denial of service is scoped to the attacker's OWN persistent WebSocket connection: by filling its configured subscription slots with completed one-shot subscriptions, a client blocks later legitimate operations on that same connection, not a shared/global resource, so this is not a true multi-tenant DoS. No EPSS score was provided in the input and the vulnerability is not listed in CISA KEV; there is no public exploit identified at time of analysis. No signals conflict - every indicator (low CVSS, high attack complexity, limited availability-only impact, no exploitation evidence) points the same direction. This is a correctness/robustness bug with a security label rather than a widespread exploitation risk, and it does not warrant emergency patching ahead of routine dependency updates. |
| Exploit ScenarioDerived | An attacker (or a buggy client) opens a single WebSocket to a Strawberry GraphQL endpoint using the legacy graphql-ws protocol on a server configured with max_subscriptions_per_connection, then repeatedly starts short-lived one-shot subscriptions each with a distinct operation id. Because completed subscriptions are never removed from the handler's bookkeeping, the connection's slots fill up and subsequent legitimate subscriptions on that same connection are rejected with 'Subscription limit reached'. No public exploit code is identified; the behavior is demonstrated only by the vendor's regression tests in the fix PR. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Uncontrolled resource consumption in the Strawberry GraphQL library's legacy graphql-ws subscription handler (versions 0.312.3 up to but not including 0.327.2) allows an unauthenticated remote client on a persistent WebSocket connection to fill that connection's configured subscription slots with one-shot subscriptions that have already completed, so later legitimate operations on the same connection are rejected with 'Subscription limit reached'. The impact is limited to the attacker's own connection and to availability (CVSS 3.1 base 3.7, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L), requiring the non-default max_subscriptions_per_connection cap to be explicitly configured and the legacy graphql-ws protocol to be in use; the modern graphql-transport-ws protocol and deployments without the cap are unaffected. No public exploit code has been identified at time of analysis and the issue is not known to be actively exploited, but a vendor fix is available in 0.327.2.
RemediationAI
Vendor-released patch: upgrade to Strawberry GraphQL 0.327.2 or later, which is the version that fixes this issue (release tag https://github.com/strawberry-graphql/strawberry/releases/tag/0.327.2, advisory GHSA-m952-2w3f-6r8h, fixing commit 24c5e46d57f7ad4f77e6e01fb8ae482dd1c0ff92 from PR 4610); the patch releases bookkeeping slots in a finally block as operations finish naturally or fail before execution, and also makes a 'stop' for an already-completed operation a harmless no-op. If immediate upgrade is not possible, two configuration-level workarounds are available, both of which trade away protection or compatibility: switch subscription traffic to the modern graphql-transport-ws protocol, which is unaffected by this bug, at the cost of requiring clients to support that protocol, or remove the max_subscriptions_per_connection setting so the per-connection quota cannot be exhausted - but doing so eliminates a genuine resource-exhaustion guard for WebSocket connections and should be paired with an equivalent limit enforced at the reverse proxy or API gateway layer. Restricting WebSocket subscription endpoints to trusted clients and enforcing connection timeouts or per-connection message rate limits at the proxy reduce exposure further, though neither restores the per-connection subscription accounting that the library fix provides.
Affected VersionsENISA
Affected Packages
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 is a Python library for building GraphQL APIs, and it ships two WebSocket subscription protocols: the legacy graphql-ws handler in strawberry/subscriptions/protocols/graphql_ws/handlers.py and the modern graphql-transport-ws handler. The flaw is CWE-400 (Uncontrolled Resource Consumption) rooted in bookkeeping rather than in memory growth: the legacy handler tracks in-flight operations in the dictionaries self.tasks and self.subscriptions, and those entries were only removed when the client sent an explicit 'stop' message, reused the operation id, or disconnected. Operations that terminated on their own (a one-shot subscription that emitted its single result and completed, or a query that failed validation before execution) left their entries behind, so each distinct operation id permanently consumed one slot against max_subscriptions_per_connection. Because the check is per connection and the leaked entries are never reclaimed, an attacker who repeatedly starts short-lived subscriptions with fresh ids on one WebSocket can exhaust that connection's quota and cause a denial of service against subsequent operations on the same socket. The upstream fix wraps result handling in a finally block that pops operation_id from both subscriptions and tasks, releases the result source via aclose(), and makes a late 'stop' for an already-completed operation a no-op instead of an error. The CVSS vector's AC:H reflects that exploitation demands a specific configuration combination (legacy protocol plus an explicitly configured per-connection cap) and yields only self-inflicted availability loss; scope is unchanged, so other clients and connections on the same server are not affected.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AC:H because exploitation depends on the non-default max_subscriptions_per_connection cap plus the legacy protocol; PR:N as an open subscription endpoint needs no auth; A:L only, self-scoped to the attacker's connection.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Strawberry GraphQL is a library for creating GraphQL APIs. From 0.312.3 until 0.327.2, the legacy graphql-ws subscription handler in strawberry/subscriptions/protocols/graphql_ws/handlers.py does not remove naturally completed operations from self.tasks and self.subscriptions. When max_subscriptions_per_connection is configured, a client on a persistent WebSocket connection can use distinct operation IDs for one-shot subscriptions to fill the connection's configured slots even after those subscriptions send complete, causing later legitimate operations on that connection to be rejected with Subscription limit reached. The modern graphql-transport-ws protocol and deployments without the configured per-connection cap are not affected. This issue is fixed in version 0.327.2.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Strawberry
View allStrawberry GraphQL versions 0.217.0 through 0.326.0 contain an authorization bypass in which a custom permission class w
Denial-of-service via alias amplification in Strawberry GraphQL (versions 0.172.0 through 0.315.6) allows unauthenticate
Infinite recursion in Strawberry GraphQL's QueryDepthLimiter extension allows unauthenticated remote attackers to crash
Strawberry GraphQL is a library for creating GraphQL APIs. Rated high severity (CVSS 8.0), this vulnerability is remotel
EUVD-2026-95391
GHSA-m952-2w3f-6r8h
NVD
CVE.org
EPSS
VulDB
Exploit-DB