{"cve":"CVE-2026-35523","nvd":{"published":"2026-04-07T17:16:31.583","modified":"2026-06-17T10:40:43.407","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-306"],"references":["https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89"],"products":["strawberry:strawberry_graphql"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-35523","score":0.00424,"percentile":0.36707,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vpwc-v33q-mq89","url":"https://osv.dev/vulnerability/GHSA-vpwc-v33q-mq89","summary":"strawberry-graphql: Authentication bypass via legacy graphql-ws WebSocket subprotocol","modified":"2026-06-08T20:00:10.930501259Z","packages":[{"ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":["<0.312.3"],"fixed":["0.312.3"]}]},{"id":"PYSEC-2026-133","url":"https://osv.dev/vulnerability/PYSEC-2026-133","summary":"","modified":"2026-05-20T09:19:17.609380Z","packages":[{"ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":["<0.312.3"],"fixed":["0.312.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}