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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | strawberry-graphql | 0.312.3 | GHSA-vpwc-v33q-mq89 |
| PyPI | strawberry-graphql | 0.312.3 | PYSEC-2026-133 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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