{"answers":{"affected":"20 open source packages ship an affected version, including nx, @nx/azure-cache and @nx/gcs-cache.","exploited":"There is no known exploitation of CVE-2026-71476 in the wild and no public exploit code.","fix":"Upgrade nx to a fixed version for your release line: 22.7.7 or 23.0.2.","what":"CVE-2026-71476 is a high-severity path traversal vulnerability in nrwl nx, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-71476 and fix it if it is affected.\n\nWhat it is: CVE-2026-71476 is a high-severity path traversal vulnerability in nrwl nx, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-71476 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nx (npm): affected from 20.8.0; fixed in 22.7.7\n- nx (npm): affected from 20.8.0; fixed in 22.7.7\n- nx (npm): affected from 23.0.0; fixed in 23.0.2\n- nx (npm): affected from 23.0.0; fixed in 23.0.2\n- @nx/azure-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/azure-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/gcs-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/gcs-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/powerpack-azure-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/powerpack-azure-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/powerpack-gcs-cache (npm): affected all versions up to 5.0.7; no fix listed\n- @nx/powerpack-gcs-cache (npm): affected all versions up to 5.0.7; no fix listed\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-71476/ (Markdown: https://insights.sbomify.com/CVE-2026-71476/index.md)","id":"CVE-2026-71476","markdown":"https://insights.sbomify.com/CVE-2026-71476/index.md","name":"CVE-2026-71476","record":{"aliases":["GHSA-vp3h-ghgh-jr7g","ROOT-APP-NPM-CVE-2026-71476"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Nx monorepo tool","requires_auth":"none","summary":"Attackers can achieve remote code execution via path traversal in the self-hosted remote cache of the Nx monorepo tool.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Nx is a monorepo solution for TypeScript and polyglot codebases. From version 20.8.0 until 22.7.7 and 23.0.2, the Nx self-hosted HTTP remote cache extracts downloaded cache artifacts without constraining where files are written. A malicious or on-path (MITM) remote cache server can return a crafted tar archive whose entries escape the cache directory and write to arbitrary locations on the machine running Nx, which can be escalated to remote code execution. Nx's default local cache and Nx Cloud are not affected; only workspaces configured to use a self-hosted remote cache are affected. This issue is fixed in versions 22.7.7 and 23.0.2.","ecosystems":["npm"],"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":"Nx: Zip-Slip in the self-hosted remote cache","id":"CVE-2026-71476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":20,"n_references":5,"next":{"headline":"mise: Incorrect file ownership, when installed by the root user using `install.sh`","id":"CVE-2026-71477"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/azure-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/azure-cache","purl":"pkg:npm/%40nx/azure-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/gcs-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/gcs-cache","purl":"pkg:npm/%40nx/gcs-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-azure-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-azure-cache","purl":"pkg:npm/%40nx/powerpack-azure-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-gcs-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-gcs-cache","purl":"pkg:npm/%40nx/powerpack-gcs-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-s3-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-s3-cache","purl":"pkg:npm/%40nx/powerpack-s3-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-shared-fs-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/powerpack-shared-fs-cache","purl":"pkg:npm/%40nx/powerpack-shared-fs-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/s3-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/s3-cache","purl":"pkg:npm/%40nx/s3-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/shared-fs-cache","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["5.0.7"],"package":"@nx/shared-fs-cache","purl":"pkg:npm/%40nx/shared-fs-cache","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":["22.7.7"],"introduced":["20.8.0"],"last_affected":[],"package":"nx","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":["22.7.7"],"introduced":["20.8.0"],"last_affected":[],"package":"nx","purl":"pkg:npm/nx","source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":["23.0.2"],"introduced":["23.0.0"],"last_affected":[],"package":"nx","purl":null,"source":"GHSA-vp3h-ghgh-jr7g"},{"ecosystem":"npm","fixed":["23.0.2"],"introduced":["23.0.0"],"last_affected":[],"package":"nx","purl":"pkg:npm/nx","source":"GHSA-vp3h-ghgh-jr7g"}],"prev":{"headline":"Insights-client-rhel9: insights-client: spoke-controlled clusterid injected unencoded into insights api url path","id":"CVE-2026-71475"},"products":["nx"],"published":"2026-08-06","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)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-08","vendors":["nrwl"]},"summary":"Attackers can achieve remote code execution via path traversal in the self-hosted remote cache of the Nx monorepo tool.","url":"https://insights.sbomify.com/CVE-2026-71476/"}