{"answers":{"affected":"3 open source packages ship an affected version, including strawberry-graphql. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47706 exists.","fix":"Upgrade strawberry-graphql to 0.315.7 or later.","what":"CVE-2026-47706 is a medium-severity denial of service vulnerability in strawberry-graphql strawberry, published on 4 Jun 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-47706 and fix it if it is affected.\n\nWhat it is: CVE-2026-47706 is a medium-severity denial of service vulnerability in strawberry-graphql strawberry, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47706 exists.\n\nAffected packages and fixed versions:\n- strawberry-graphql (PyPI): affected from 0.71.0; fixed in 0.315.7\n- strawberry-graphql (PyPI): affected from 0.71.0; fixed in 0.315.7\n- strawberry-graphql (PyPI): affected from 0.71.0; fixed in 0.315.7\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-47706/ (Markdown: https://insights.sbomify.com/CVE-2026-47706/index.md)","id":"CVE-2026-47706","markdown":"https://insights.sbomify.com/CVE-2026-47706/index.md","name":"CVE-2026-47706","record":{"aliases":["GHSA-qfwv-87qj-98xq","PYSEC-2026-2283","ROOT-APP-PYPI-CVE-2026-47706"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python GraphQL library","requires_auth":"none","summary":"Attackers can crash the application by sending GraphQL queries with circular fragment references, causing infinite recursion in the depth limiter.","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":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.71.0 through 0.315.6, the QueryDepthLimiter extension is vulnerable to an Application-level DOS due to a lack of cycle detection in fragment spreads. When a query contains circular fragment references the determine_depth function enters an infinite recursion, leading to a RecursionError and crashing the validation process. Version 0.315.7 patches the issue.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Strawberry GraphQL has a Circular Fragment Reference DOS","id":"CVE-2026-47706","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification","id":"CVE-2026-47707"},"packages":[{"ecosystem":"PyPI","fixed":["0.315.7"],"introduced":["0.71.0"],"last_affected":[],"package":"strawberry-graphql","purl":null,"source":"GHSA-qfwv-87qj-98xq"},{"ecosystem":"PyPI","fixed":["0.315.7"],"introduced":["0.71.0"],"last_affected":[],"package":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","source":"GHSA-qfwv-87qj-98xq"},{"ecosystem":"PyPI","fixed":["0.315.7"],"introduced":["0.71.0"],"last_affected":[],"package":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","source":"PYSEC-2026-2283"}],"prev":{"headline":"TypeBot vulnerable to CSV injection in result export","id":"CVE-2026-47705"},"products":["strawberry"],"published":"2026-06-04","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":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'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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-04","vendors":["strawberry-graphql"]},"summary":"Attackers can crash the application by sending GraphQL queries with circular fragment references, causing infinite recursion in the depth limiter.","url":"https://insights.sbomify.com/CVE-2026-47706/"}