PT-2026-30761 · Unknown · Strawberry Graphql
Katzj
+1
·
Published
2026-04-06
·
Updated
2026-06-05
·
CVE-2026-35523
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Strawberry GraphQL versions through 0.312.3
Description
Strawberry GraphQL is susceptible to an authentication bypass on WebSocket subscription endpoints. The legacy graphql-ws subprotocol handler does not verify completion of a
connection init handshake before processing start (subscription) messages. This allows an attacker to bypass the on ws connect authentication hook by connecting with the graphql-ws subprotocol and sending a start message directly, without a connection init message. The graphql-transport-ws subprotocol handler is not affected. Applications relying on on ws connect for authentication or authorization are affected.Recommendations
Upgrade to version 0.312.3 or later. Alternatively, disable the legacy graphql-ws subprotocol by setting
subscription protocols=[GRAPHQL TRANSPORT WS PROTOCOL] on your GraphQL view/router.Fix
Missing Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Strawberry Graphql