CVE-2026-35523
HIGHAuthentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol
Title source: cnaDescription
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.
Scores
CVSS v3
7.5
EPSS
0.0013
EPSS Percentile
31.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-306
Status
published
Products (3)
pypi/strawberry-graphql
0 - 0.312.3PyPI
strawberry/strawberry_graphql
< 0.312.3
strawberry-graphql/strawberry
< 0.312.3
Published
Apr 07, 2026
Tracked Since
Apr 07, 2026