{"answers":{"affected":"30 open source packages ship an affected version, including @apollo/federation-internals, @apollo/gateway and @apollo/query-planner.","exploited":"There is no known exploitation of CVE-2026-32621 in the wild and no public exploit code.","fix":"Upgrade @apollo/federation-internals to a fixed version for your release line: 2.9.6, 2.10.5, 2.11.6 or 2.12.3.","what":"CVE-2026-32621 is a critical vulnerability in @apollo federation-internals, published on 13 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32621 and fix it if it is affected.\n\nWhat it is: CVE-2026-32621 is a critical vulnerability in @apollo federation-internals, published on 13 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-32621 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @apollo/federation-internals (npm): affected all versions; fixed in 2.9.6\n- @apollo/federation-internals (npm): affected all versions; fixed in 2.9.6\n- @apollo/federation-internals (npm): affected from 2.10.0; fixed in 2.10.5\n- @apollo/federation-internals (npm): affected from 2.10.0; fixed in 2.10.5\n- @apollo/federation-internals (npm): affected from 2.11.0; fixed in 2.11.6\n- @apollo/federation-internals (npm): affected from 2.11.0; fixed in 2.11.6\n- @apollo/federation-internals (npm): affected from 2.12.0; fixed in 2.12.3\n- @apollo/federation-internals (npm): affected from 2.12.0; fixed in 2.12.3\n- @apollo/federation-internals (npm): affected from 2.13.0; fixed in 2.13.2\n- @apollo/federation-internals (npm): affected from 2.13.0; fixed in 2.13.2\n- @apollo/gateway (npm): affected all versions; fixed in 2.9.6\n- @apollo/gateway (npm): affected all versions; fixed in 2.9.6\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-32621/ (Markdown: https://insights.sbomify.com/CVE-2026-32621/index.md)","id":"CVE-2026-32621","markdown":"https://insights.sbomify.com/CVE-2026-32621/index.md","name":"CVE-2026-32621","record":{"aliases":["GHSA-pfjj-6f4p-rvmh","ROOT-APP-NPM-CVE-2026-32621"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Apollo Federation gateway","requires_auth":"low_privilege","summary":"A malicious client or compromised subgraph can pollute Object.prototype in the Apollo Federation gateway, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Prior to 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2, a vulnerability exists in query plan execution within the gateway that may allow pollution of Object.prototype in certain scenarios. A malicious client may be able to pollute Object.prototype in gateway directly by crafting operations with field aliases and/or variable names that target prototype-inheritable properties. Alternatively, if a subgraph were to be compromised by a malicious actor, they may be able to pollute Object.prototype in gateway by crafting JSON response payloads that target prototype-inheritable properties. This vulnerability is fixed in 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-08-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-03T16:02:09Z","kind":"github_poc","ref":"https://github.com/sam00/POC-CVE-2026-32621-Apollo-Federation-XSS-Vulnerability","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apollo Federation has prototype pollution via incomplete key sanitization","id":"CVE-2026-32621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2026"},"n_packages":30,"n_references":1,"next":{"headline":"SQLBot: Remote Code Execution via Terminology Poisoning","id":"CVE-2026-32622"},"packages":[{"ecosystem":"npm","fixed":["2.9.6"],"introduced":["0"],"last_affected":[],"package":"@apollo/federation-internals","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.9.6"],"introduced":["0"],"last_affected":[],"package":"@apollo/federation-internals","purl":"pkg:npm/%40apollo/federation-internals","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":"pkg:npm/%40apollo/federation-internals","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.11.6"],"introduced":["2.11.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.11.6"],"introduced":["2.11.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":"pkg:npm/%40apollo/federation-internals","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":"pkg:npm/%40apollo/federation-internals","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.13.2"],"introduced":["2.13.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.13.2"],"introduced":["2.13.0"],"last_affected":[],"package":"@apollo/federation-internals","purl":"pkg:npm/%40apollo/federation-internals","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.9.6"],"introduced":["0"],"last_affected":[],"package":"@apollo/gateway","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.9.6"],"introduced":["0"],"last_affected":[],"package":"@apollo/gateway","purl":"pkg:npm/%40apollo/gateway","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"@apollo/gateway","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"@apollo/gateway","purl":"pkg:npm/%40apollo/gateway","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.11.6"],"introduced":["2.11.0"],"last_affected":[],"package":"@apollo/gateway","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.11.6"],"introduced":["2.11.0"],"last_affected":[],"package":"@apollo/gateway","purl":"pkg:npm/%40apollo/gateway","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"@apollo/gateway","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"@apollo/gateway","purl":"pkg:npm/%40apollo/gateway","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.13.2"],"introduced":["2.13.0"],"last_affected":[],"package":"@apollo/gateway","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.13.2"],"introduced":["2.13.0"],"last_affected":[],"package":"@apollo/gateway","purl":"pkg:npm/%40apollo/gateway","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.9.6"],"introduced":["0"],"last_affected":[],"package":"@apollo/query-planner","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.9.6"],"introduced":["0"],"last_affected":[],"package":"@apollo/query-planner","purl":"pkg:npm/%40apollo/query-planner","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"@apollo/query-planner","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"@apollo/query-planner","purl":"pkg:npm/%40apollo/query-planner","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.11.6"],"introduced":["2.11.0"],"last_affected":[],"package":"@apollo/query-planner","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.11.6"],"introduced":["2.11.0"],"last_affected":[],"package":"@apollo/query-planner","purl":"pkg:npm/%40apollo/query-planner","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"@apollo/query-planner","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"@apollo/query-planner","purl":"pkg:npm/%40apollo/query-planner","source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.13.2"],"introduced":["2.13.0"],"last_affected":[],"package":"@apollo/query-planner","purl":null,"source":"GHSA-pfjj-6f4p-rvmh"},{"ecosystem":"npm","fixed":["2.13.2"],"introduced":["2.13.0"],"last_affected":[],"package":"@apollo/query-planner","purl":"pkg:npm/%40apollo/query-planner","source":"GHSA-pfjj-6f4p-rvmh"}],"prev":{"headline":"Discourse: Missing post-level authorization allows whisper metadata disclosure","id":"CVE-2026-32620"},"products":["federation-internals","gateway","query-planner"],"published":"2026-03-13","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-16","vendors":["@apollo"]},"summary":"A malicious client or compromised subgraph can pollute Object.prototype in the Apollo Federation gateway, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-32621/"}