{"answers":{"affected":"3 open source packages ship an affected version, including strawberry-graphql. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-35523 in the wild and no public exploit code.","fix":"Upgrade strawberry-graphql to 0.312.3 or later.","what":"CVE-2026-35523 is a high-severity authentication bypass vulnerability in strawberry-graphql strawberry, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-35523 and fix it if it is affected.\n\nWhat it is: CVE-2026-35523 is a high-severity authentication bypass vulnerability in strawberry-graphql strawberry, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-35523 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- strawberry-graphql (PyPI): affected all versions; fixed in 0.312.3\n- strawberry-graphql (PyPI): affected all versions; fixed in 0.312.3\n- strawberry-graphql (PyPI): affected all versions; fixed in 0.312.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-35523/ (Markdown: https://insights.sbomify.com/CVE-2026-35523/index.md)","id":"CVE-2026-35523","markdown":"https://insights.sbomify.com/CVE-2026-35523/index.md","name":"CVE-2026-35523","record":{"aliases":["GHSA-vpwc-v33q-mq89","PYSEC-2026-133","ROOT-APP-PYPI-CVE-2026-35523"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python GraphQL library","requires_auth":"none","summary":"Attackers can bypass authentication on WebSocket subscription endpoints by using the legacy graphql-ws subprotocol without completing the handshake.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"strawberry_graphql","vendor":"strawberry"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol","id":"CVE-2026-35523","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates","id":"CVE-2026-35525"},"packages":[{"ecosystem":"PyPI","fixed":["0.312.3"],"introduced":["0"],"last_affected":[],"package":"strawberry-graphql","purl":null,"source":"GHSA-vpwc-v33q-mq89"},{"ecosystem":"PyPI","fixed":["0.312.3"],"introduced":["0"],"last_affected":[],"package":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","source":"GHSA-vpwc-v33q-mq89"},{"ecosystem":"PyPI","fixed":["0.312.3"],"introduced":["0"],"last_affected":[],"package":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","source":"PYSEC-2026-133"}],"prev":{"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dhcp.hosts Newline Injection","id":"CVE-2026-35521"},"products":["strawberry"],"published":"2026-04-07","related":[{"cvss_score":7.5,"headline":"Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions","id":"CVE-2026-35526","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":5.3,"headline":"Strawberry GraphQL has a Circular Fragment Reference DOS","id":"CVE-2026-47706","kev_date_added":null,"published":"2026-06-04"},{"cvss_score":5.3,"headline":"Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification","id":"CVE-2026-47707","kev_date_added":null,"published":"2026-06-04"},{"cvss_score":3.1,"headline":"Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs","id":"CVE-2026-45739","kev_date_added":null,"published":"2026-06-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-09","vendors":["strawberry-graphql"]},"summary":"Attackers can bypass authentication on WebSocket subscription endpoints by using the legacy graphql-ws subprotocol without completing the handshake.","url":"https://insights.sbomify.com/CVE-2026-35523/"}