{"id":"CVE-2026-35523","published":"2026-04-07T15:58:17Z","modified":"2026-04-09T16:18:51Z","title":"Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol","vendor":"strawberry-graphql","product":"strawberry","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0044,"percentile":0.39136,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.83},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"strawberry-graphql","affectedVersions":[{"vendor":"strawberry-graphql","product":"strawberry","versions":["< 0.312.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-09T16:11:53.120304Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"strawberry-graphql","vulnerableRanges":["<0.312.3"],"patched":["0.312.3"],"from":["GHSA-vpwc-v33q-mq89","PYSEC-2026-133"],"provenance":"source"}],"summary":{"text":"The Strawberry GraphQL Python library (product \"strawberry\") has an authentication bypass in its legacy graphql-ws WebSocket subprotocol handler, which fails to require a completed connection_init handshake before processing subscription start messages. A remote attacker with network access to a WebSocket subscription endpoint, and no credentials or user interaction needed, can connect using the graphql-ws subprotocol and send a start message directly to skip the on_ws_connect authentication hook.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:45Z"},"euvd":{"id":"EUVD-2026-19716","exploited":false,"provenance":"source"}}