5.8

CVE-2026-104853: Nx: Path traversal in nx migrate package-migrations extraction

Undergoing analysis
AliasesGHSA-hrvq-x7jp-36xv
Published 02-10-2026Last modified 02-10-2026

Vulnerability summary

CVE-2026-104853 is a medium (CVSS 5.8) Path Traversal vulnerability in nrwl nx. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.5% of scored vulnerabilities.

Overall risk
23/100
0100
Low · default modelHow is this calculated?
CVSS score
5.8/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.17%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-10-2026
    PublishedVulnerability first disclosed.
  2. 02-10-2026
    Last modifiedVulnerability information updated.

Description

Nx is a monorepo solution for TypeScript and polyglot codebases. From 13.10.0 until 22.7.10 and 23.2.1, Nx migration planning reads the nx-migrations.migrations value from a target package manifest without validating that it is a contained relative path. A hostile direct dependency or a package introduced through a trusted package's packageGroup can supply .. segments or an absolute path, causing nx migrate to join an escaping destination onto its temporary directory. The migration archive can then write attacker-controlled bytes outside the temporary directory, while opening the destination stream can truncate an existing writable file even when no archive entry matches. This occurs during migration planning before review of the migration list or use of --run-migrations; the vulnerable installed Nx copy is reached when the normal nx@latest handoff is bypassed with NX_USE_LOCAL, NX_MIGRATE_USE_LOCAL, NX_MIGRATE_CLI_VERSION, --run-id, or fallback after a temporary-install failure. This issue is fixed in versions 22.7.10 and 23.2.1.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

03-10-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Npm1 product
  • nx≥ 13.10.0, < 22.7.10 | ≥ 23.0.0, < 23.2.1
Nrwl1 product
  • nx≥ 13.10.0, < 22.7.10 | ≥ 23.0.0, < 23.2.1

2 vendors · 2 products

References

9 links