{"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-35526 in the wild and no public exploit code.","fix":"Upgrade strawberry-graphql to 0.312.3 or later.","what":"CVE-2026-35526 is a high-severity denial of service 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-35526 and fix it if it is affected.\n\nWhat it is: CVE-2026-35526 is a high-severity denial of service 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-35526 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-35526/ (Markdown: https://insights.sbomify.com/CVE-2026-35526/index.md)","id":"CVE-2026-35526","markdown":"https://insights.sbomify.com/CVE-2026-35526/index.md","name":"CVE-2026-35526","record":{"aliases":["GHSA-hv3w-m4g2-5x77","PYSEC-2026-134","ROOT-APP-PYPI-CVE-2026-35526"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python GraphQL library","requires_auth":"none","summary":"An unauthenticated attacker can cause server crashes or degradation by flooding WebSocket subscriptions in Strawberry GraphQL, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"denial_of_service"},"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:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Strawberry GraphQL is a library for creating GraphQL APIs. Prior to 0.312.3, Strawberry GraphQL's WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols allocate an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing any limit on the number of active subscriptions per connection. An unauthenticated attacker can open a single WebSocket connection, send connection_init, and then flood subscribe messages with unique IDs. Each message unconditionally spawns a new asyncio.Task and async generator, causing linear memory growth and event loop saturation. This leads to server degradation or an OOM crash. 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":"Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions","id":"CVE-2026-35526","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Incus blind SSRF via image import preflight HEAD request","id":"CVE-2026-35527"},"packages":[{"ecosystem":"PyPI","fixed":["0.312.3"],"introduced":["0"],"last_affected":[],"package":"strawberry-graphql","purl":null,"source":"GHSA-hv3w-m4g2-5x77"},{"ecosystem":"PyPI","fixed":["0.312.3"],"introduced":["0"],"last_affected":[],"package":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","source":"GHSA-hv3w-m4g2-5x77"},{"ecosystem":"PyPI","fixed":["0.312.3"],"introduced":["0"],"last_affected":[],"package":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","source":"PYSEC-2026-134"}],"prev":{"headline":"LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates","id":"CVE-2026-35525"},"products":["strawberry"],"published":"2026-04-07","related":[{"cvss_score":7.5,"headline":"Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol","id":"CVE-2026-35523","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-08","vendors":["strawberry-graphql"]},"summary":"An unauthenticated attacker can cause server crashes or degradation by flooding WebSocket subscriptions in Strawberry GraphQL, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2026-35526/"}