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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-02)
- Published: 2026-04-06T18:00:26.000Z
- Modified: 2026-06-17T10:40:43.407Z
- Also known as: GHSA-vpwc-v33q-mq89, PYSEC-2026-133
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- strawberry-graphql strawberry: < 0.312.3
- strawberry-graphql (PyPI): before 0.312.3
- strawberry strawberry_graphql: before 0.312.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89> (advisory, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-35523](https://www.cve.org/CVERecord?id=CVE-2026-35523), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-vpwc-v33q-mq89](https://github.com/advisories/GHSA-vpwc-v33q-mq89), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2026-35523](https://nvd.nist.gov/vuln/detail/CVE-2026-35523), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-133](https://osv.dev/vulnerability/PYSEC-2026-133), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-35523 · Whole record: https://cve.day/CVE-2026-35523.json · Rebuilt by cve.day 2026-11-25T22:59:18.128Z
