cve.bz

CVE-2026-71476 nrwl nx: Path traversal

8.7 highEPSS 0.9%Fix available

High (8.7) in nrwl nx. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in nx 22.7.7, 23.0.2.

On this page
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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-08-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • nx (npm): fixed in 22.7.7, 23.0.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-71476 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71476?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71476?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-71476 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nrwl nx>= 20.8.0, < 22.7.7
nrwl nx>= 23.0.0, < 23.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vp3h-ghgh-jr7gnpmnx>=20.8.0 <22.7.722.7.7
GHSA-vp3h-ghgh-jr7gnpm@nx/s3-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/gcs-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/azure-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/shared-fs-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/powerpack-s3-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/powerpack-gcs-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/powerpack-azure-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpm@nx/powerpack-shared-fs-cache<=5.0.7no fix published
GHSA-vp3h-ghgh-jr7gnpmnx>=23.0.0 <23.0.223.0.2

Red Hat

Red Hat rates this Critical.

Red Hat's statement

A flaw was found in Nx where the self-hosted HTTP remote cache extracts downloaded cache artifacts without validating file paths, allowing a Zip-Slip path traversal attack. Red Hat products that bundle Nx use it as a build tool and do not use the self-hosted remote cache feature, limiting the exploitability of this vulnerability in Red Hat environments. The AAP 2.6 and 2.7 gateway container images bundle a vulnerable version of Nx and are being evaluated for impact.

Red Hat's mitigation

Do not configure Nx to use a self-hosted HTTP remote cache. Use Nx's default local cache or Nx Cloud instead, neither of which are affected by this vulnerability. If a self-hosted remote cache is required, ensure the cache server is trusted and accessed over a secure, authenticated connection to prevent man-in-the-middle attacks. Upgrading to Nx 22.7.7 or 23.0.2 resolves the underlying path traversal issue.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/gateway-rhel9Not affected
Red Hat Ansible Automation Platform 2automation-gatewayNot affected
Red Hat Ansible Automation Platform 2automation-platform-uiNot affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened Imagesgrafana13.1Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-71476.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON