CVE-2026-23950

node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS

8.8 high EPSS 0.27%

Published 20 Jan 2026 Updated 1 Sep 2026 CNA: GitHub_M

Check your servers for CVE-2026-23950

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23950 affects node-tar, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

node-tar,a Tar for Node.js, has a race condition vulnerability in versions up to and including 7.5.3. This is due to an incomplete handling of Unicode path collisions in the `path-reservations` system. On case-insensitive or normalization-insensitive filesystems (such as macOS APFS, In which it has been tested), the library fails to lock colliding paths (e.g., `ß` and `ss`), allowing them to be processed in parallel. This bypasses the library's internal concurrency safeguards and permits Symlink Poisoning attacks via race conditions. The library uses a `PathReservations` system to ensure that metadata checks and file operations for the same path are serialized. This prevents race conditions where one entry might clobber another concurrently. This is a Race Condition which enables Arbitrary File Overwrite. This vulnerability affects users and systems using node-tar on macOS (APFS/HFS+). Because of using `NFD` Unicode normalization (in which `ß` and `ss` are different), conflicting paths do not have their order properly preserved under filesystems that ignore Unicode normalization (e.g., APFS (in which `ß` causes an inode collision with `ss`)). This enables an attacker to circumvent internal parallelization locks (`PathReservations`) using conflicting filenames within a malicious tar archive. The patch in version 7.5.4 updates `path-reservations.js` to use a normalization form that matches the target filesystem's behavior (e.g., `NFKD`), followed by first `toLocaleLowerCase('en')` and then `toLocaleUpperCase('en')`. As a workaround, users who cannot upgrade promptly, and who are programmatically using `node-tar` to extract arbitrary tarball data should filter out all `SymbolicLink` entries (as npm does) to defend against arbitrary file writes via this file system entry name collision issue.

Severity (CVSS)

8.8 high CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
8.8 high CVSS 3.1 from redhat-SADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.7% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 21 Jan 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-176 Improper Handling of Unicode Encoding
  • CWE-352 Cross-Site Request Forgery
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected products

As the CNA lists them.

ProductVersions
node-tar
affected < 7.5.4

Is my server affected?

Find the installed version of node-tar and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i node-tar
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-23950 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-23950

RHEL, Rocky, Alma, Fedora

rpm -q node-tar
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-23950

Alpine

apk list --installed | grep -i node-tar

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23950
trivy image --scanners vuln IMAGE | grep CVE-2026-23950

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2026-23950 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.