FreeBSD : py-strawberry-graphql -- Multiple vulnerabilities (6a0aa20d-399f-11f1-8626-901b0edee044)

high Nessus Plugin ID 307389

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the 6a0aa20d-399f-11f1-8626-901b0edee044 advisory.

The Strawberry GraphQL project reports:
Strawberry up until version 0.312.3 is vulnerable to an authentication bypass on WebSocket subscription endpoints. The legacy graphql-ws subprotocol handler does not verify that a 'connection_init' handshake has been completed before processing start (subscription) messages. This allows a remote attacker to skip the 'on_ws_connect' authentication hook entirely by connecting with the graphql-ws subprotocol and sending a start message directly, without ever sending 'connection_init'.

The graphql-transport-ws subprotocol handler is not affected, as it correctly gates subscription operations on a connection_acknowledged flag. However, both subprotocols are enabled by default in all framework integrations that support websockets, and the subprotocol is selected by the client via the Sec-WebSocket-Protocol header.

Any application relying on 'on_ws_connect' for authentication or authorization is affected.
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.

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://www.cve.org/CVERecord?id=CVE-2026-35523

https://www.cve.org/CVERecord?id=CVE-2026-35526

http://www.nessus.org/u?87824bea

Plugin Details

Severity: High

ID: 307389

File Name: freebsd_pkg_6a0aa20d399f11f18626901b0edee044.nasl

Version: 1.1

Type: Local

Published: 4/17/2026

Updated: 4/17/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-35523

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:H/I:N/A:N

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py310-dj52-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py314-dj52-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py312-dj52-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py312-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py311-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py310-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py313-dj52-strawberry-graphql, cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:py311-dj52-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py313-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py313t-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py314-strawberry-graphql, p-cpe:/a:freebsd:freebsd:py313t-dj52-strawberry-graphql

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 4/17/2026

Vulnerability Publication Date: 4/6/2026

Reference Information

CVE: CVE-2026-35523, CVE-2026-35526