SCA: security update for strawberry-graphql (GHSA-hv3w-m4g2-5x77)

high Tenable Cloud Security Plugin ID 440031

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Strawberry GraphQL is a library for creating GraphQL APIs. Prior to 0.312.3, Strawberry GraphQL's
WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols allocate
an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing any
limit on the number of active subscriptions per connection. An unauthenticated attacker can open a single
WebSocket connection, send connection_init, and then flood subscribe messages with unique IDs. Each
message unconditionally spawns a new asyncio.Task and async generator, causing linear memory growth and
event loop saturation. This leads to server degradation or an OOM crash. This vulnerability is fixed in
0.312.3. (CVE-2026-35526)

Solution

Update the strawberry-graphql library and its related packages to version 0.312.3 or later.

See Also

https://github.com/advisories/GHSA-hv3w-m4g2-5x77

Plugin Details

Severity: High

ID: 440031

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/8/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-35526

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/6/2026

Vulnerability Publication Date: 4/6/2026

Reference Information

CVE: CVE-2026-35526