CVE-2026-104853
Last modified
CVE-2026-104853 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nrwl | nx | >= 13.10.0, < 22.7.10; >= 23.0.0, < 23.2.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-104853?
How severe is CVE-2026-104853?
How do I fix CVE-2026-104853?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-104845Seroval facilitates JS value stringification, including comp…7.5
- CVE-2026-104846Seroval facilitates JS value stringification, including comp…9.8
- CVE-2026-104847ProseMirror's view component renders and manages the editabl…8.5
- CVE-2026-104848Tinypool is a minimal Node.js worker thread pool implementat…9.5
- CVE-2026-104849Tinypool is a minimal Node.js worker thread pool implementat…9.5
- CVE-2026-104851fsspec is a specification and Python implementation framewor…8.8
- CVE-2026-104854Nx is a monorepo solution for TypeScript and polyglot codeba…8.5
- CVE-2026-104855Wasmtime is a runtime for WebAssembly. From 46.0.0 until 46.…2
- CVE-2026-104859Nx is a monorepo solution for TypeScript and polyglot codeba…7.3
- CVE-2026-104861probe-image-size gets image dimensions without downloading t…7.5
- CVE-2026-1049A security vulnerability has been detected in LigeroSmart up…5.4
- CVE-2026-104900MISP contains a stored cross-site scripting (XSS) vulnerabil…5.3
Are you affected by CVE-2026-104853?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
