Authentication Bypass in Strawberry GraphQL Library by Strawberry
CVE-2026-35523
7.5HIGH
What is CVE-2026-35523?
The Strawberry GraphQL library, used for building GraphQL APIs, is susceptible to an authentication bypass through its WebSocket subscription endpoints. Versions earlier than 0.312.3 lack proper validation in the legacy graphql-ws subprotocol handler, allowing unauthorized access. Attackers can bypass initial authentication by directly sending a start message, thus neglecting the required connection_init handshake. This exposes applications to potential unauthorized data access. The vulnerability has been addressed in version 0.312.3.
Affected Version(s)
strawberry < 0.312.3
