{"id":"CVE-2026-35523","state":"PUBLISHED","title":"Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol","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.","publishedAt":"2026-04-07T15:58:17.694Z","updatedAt":"2026-04-09T16:18:51.112Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["strawberry-graphql strawberry"],"affected":[{"vendor":"strawberry-graphql","product":"strawberry","versions":[{"version":"< 0.312.3","status":"affected"}]}],"references":["https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89"],"weaknesses":["CWE-306"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35523.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35523","state":"PUBLISHED","datePublished":"2026-04-07T15:58:17.694Z","dateUpdated":"2026-04-09T16:18:51.112Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-03T02:15:39.281Z"},"containers":{"cna":{"title":"Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"strawberry-graphql","product":"strawberry","versions":[{"version":"< 0.312.3","status":"affected"}]}],"references":[{"url":"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89","name":"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-306","lang":"en","description":"CWE-306: Missing Authentication for Critical Function","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-07T15:58:17.694Z"},"source":{"advisory":"GHSA-vpwc-v33q-mq89","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-09T16:11:53.120304Z","id":"CVE-2026-35523","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-09T16:18:51.112Z"}}]}}}