CVE-2026-35523
HIGH 7.5CVSS 3.1strawberry-graphql: Authentication bypass via legacy graphql-ws WebSocket subprotocol
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.
- Published
- 7 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-306
- Also known as
- GHSA-vpwc-v33q-mq89PYSEC-2026-133
- Sources
- NVDJSONOSV GHSA-vpwc-v33q-mq89JSONOSV PYSEC-2026-133JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | strawberry | strawberry_graphqlcpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:* |
< 0.312.3 | 0.312.3 |
| OSV | PyPI | strawberry-graphql | < 0.312.3 | 0.312.3 |
References
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-35523 · ADVISORY
- https://github.com/strawberry-graphql/strawberry/commit/0977a4e6b41b7cfe3e9d8ba84a43458a2b0c54c2 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/strawberry-graphql/PYSEC-2026-133.yaml · WEB
- https://github.com/strawberry-graphql/strawberry · PACKAGE
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.312.3 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Apr 2026)