CVE-2026-35523: CWE-306: Missing Authentication for Critical Function in strawberry-graphql strawberry
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.
AI Analysis
Technical Summary
Strawberry GraphQL, a library for building GraphQL APIs, is vulnerable to an authentication bypass on WebSocket subscription endpoints in versions before 0.312.3. The legacy graphql-ws subprotocol handler does not enforce the completion of the connection_init handshake before processing start messages, allowing an attacker to skip the on_ws_connect authentication hook entirely. This vulnerability is classified under CWE-306 and has a CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N). The issue is fixed in version 0.312.3.
Potential Impact
An attacker can remotely bypass authentication on WebSocket subscription endpoints by exploiting the missing verification of the connection_init handshake. This allows unauthorized access to subscription data streams, potentially exposing sensitive information. The vulnerability does not impact integrity or availability but has a high confidentiality impact.
Mitigation Recommendations
Upgrade Strawberry GraphQL to version 0.312.3 or later, where this authentication bypass vulnerability is fixed. Since this is a library vulnerability, ensure that all dependent applications update their Strawberry GraphQL dependency accordingly. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is fixed in version 0.312.3.
CVE-2026-35523: CWE-306: Missing Authentication for Critical Function in strawberry-graphql strawberry
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Strawberry GraphQL, a library for building GraphQL APIs, is vulnerable to an authentication bypass on WebSocket subscription endpoints in versions before 0.312.3. The legacy graphql-ws subprotocol handler does not enforce the completion of the connection_init handshake before processing start messages, allowing an attacker to skip the on_ws_connect authentication hook entirely. This vulnerability is classified under CWE-306 and has a CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N). The issue is fixed in version 0.312.3.
Potential Impact
An attacker can remotely bypass authentication on WebSocket subscription endpoints by exploiting the missing verification of the connection_init handshake. This allows unauthorized access to subscription data streams, potentially exposing sensitive information. The vulnerability does not impact integrity or availability but has a high confidentiality impact.
Mitigation Recommendations
Upgrade Strawberry GraphQL to version 0.312.3 or later, where this authentication bypass vulnerability is fixed. Since this is a library vulnerability, ensure that all dependent applications update their Strawberry GraphQL dependency accordingly. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is fixed in version 0.312.3.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-03T02:15:39.281Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d5314faaed68159a33991a
Added to database: 4/7/2026, 4:31:11 PM
Last enriched: 4/7/2026, 4:46:37 PM
Last updated: 4/8/2026, 2:04:17 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.