Symlink Attack Affecting nx package, versions >=20.8.0 <22.7.7>=23.0.0 <23.0.2>=23.1.0-beta.0 <23.1.0-beta.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Symlink Attack vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NX-18593778
  • published8 Aug 2026
  • disclosed6 Aug 2026
  • creditUnknown

Introduced: 6 Aug 2026

NewCVE-2026-71476  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade nx to version 22.7.7, 23.0.2, 23.1.0-beta.5 or higher.

Overview

nx is a The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

Affected versions of this package are vulnerable to Symlink Attack via the extraction process. An attacker can write arbitrary files to locations outside the intended directory by supplying a crafted tar archive with malicious entries. This can lead to remote code execution if the attacker is able to control the contents of the extracted files.

CVSS Base Scores

version 4.0
version 3.1