Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M

CVE-2026-35523Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol

High 7.5

In plain English

A high-severity missing authentication in strawberry from strawberry-graphql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 61.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Strawberry GraphQL is a library for creating GraphQL APIs. 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. This vulnerability is fixed in 0.312.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIstrawberry-graphql0.312.3GHSA-vpwc-v33q-mq89
PyPIstrawberry-graphql0.312.3PYSEC-2026-133

Affected products (as reported)

VendorProductVersions
strawberry-graphql strawberry < 0.312.3

Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References