Skip to main content
EPSS 0.6%top 54%

CVE-2026-71476: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nrwl nx

0
High
Published: 08/06/2026 (08/06/2026, 20:07:09 UTC)
Source: CVE Database V5
Vendor/Project: nrwl
Product: nx

Description

Nx versions from 20.8.0 up to but not including 22.7.7 and 23.0.2 have a path traversal vulnerability in the self-hosted HTTP remote cache feature. This flaw allows a malicious or man-in-the-middle remote cache server to craft tar archives that write files outside the intended cache directory, potentially leading to remote code execution. The default local cache and Nx Cloud are not affected. The issue is fixed in versions 22.7.7 and 23.0.2.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

nrwl

nx

Affected versions
>=20.8.0 <22.7.7>=23.0.0 <23.0.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 15:52:19 UTC

Technical Analysis

Nx is a monorepo tool for TypeScript and polyglot codebases. In affected versions (>=20.8.0 <22.7.7 and >=20.8.0 <23.0.2), the self-hosted HTTP remote cache extracts downloaded cache artifacts without restricting file extraction paths. This allows a malicious or on-path attacker controlling the remote cache server to supply a crafted tar archive with entries that escape the cache directory, writing files to arbitrary locations on the host system. This can escalate to remote code execution. The vulnerability does not affect Nx's default local cache or Nx Cloud. The flaw is addressed in versions 22.7.7 and 23.0.2.

Potential Impact

An attacker controlling or intercepting the remote cache server can cause arbitrary files to be written outside the intended cache directory on the victim's machine. This can lead to remote code execution, compromising the system running Nx. Only workspaces configured to use a self-hosted remote cache are vulnerable. Default local cache and Nx Cloud users are not impacted.

Mitigation Recommendations

Upgrade Nx to version 22.7.7 or 23.0.2 or later, where this path traversal vulnerability is fixed. If upgrading immediately is not possible, avoid using self-hosted HTTP remote cache configurations until patched. The default local cache and Nx Cloud do not require action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-06T19:56:23.724Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a75070fbf8831d5395f5df2

Added to database: 08/06/2026, 22:13:35 UTC

Last enriched: 08/14/2026, 15:52:19 UTC

Last updated: 09/21/2026, 22:01:37 UTC

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses