CVEfocus › CVE database › CVE-2026-23950

CVE-2026-23950node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on…

CVSS 8.8 HighEPSS 0.3% (higher than 18% of CVEs)Published 2026-01-20Updated 2026-09-01Assigner: GitHub_M

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.

CWE-176CWE-352CWE-367

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

35Fixed
5Fix pending
3Under investigation
3Will not fix
57Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-tarFix pendingUBUNTU-CVE-2026-23950
Ubuntu 26.04node-tarUnder investigationUBUNTU-CVE-2026-23950
Ubuntu 25.10node-tarWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23950
Ubuntu 24.04node-tarUnder investigationUBUNTU-CVE-2026-23950
Ubuntu 22.04node-tarUnder investigationUBUNTU-CVE-2026-23950
Ubuntu 20.04node-tarFix pendingUBUNTU-CVE-2026-23950
Ubuntu 18.04node-tarFix pendingUBUNTU-CVE-2026-23950
Ubuntu 16.04node-tarFix pendingUBUNTU-CVE-2026-23950
Ubuntu 14.04node-tarFix pendingUBUNTU-CVE-2026-23950
Debian 14node-tarFixed6.2.1+ds1+~cs6.1.13-7DEBIAN-CVE-2026-23950
Debian 13node-tarFixed6.2.1+~cs7.0.8-1+deb13u1DEBIAN-CVE-2026-23950
Debian 12node-tarWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-23950
Red Hat Enterprise Linux 10linux-sgxFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10nodejsNot affected
Red Hat Enterprise Linux 10nodejs-develNot affected
Red Hat Enterprise Linux 10nodejs-docsNot affected
Red Hat Enterprise Linux 10nodejs-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs-libsNot affected
Red Hat Enterprise Linux 10nodejs-npmNot affected
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 10nodejs24Not affected
Red Hat Enterprise Linux 10nodejs24-develNot affected
Red Hat Enterprise Linux 10nodejs24-docsNot affected
Red Hat Enterprise Linux 10nodejs24-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs24-libsNot affected
Red Hat Enterprise Linux 10nodejs24-npmNot affected
Red Hat Enterprise Linux 10sgx-commonFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-libsFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-mpaFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-pccsFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-pccs-adminFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10sgx-pckid-toolFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 10tarNot affected
Red Hat Enterprise Linux 10tdx-qgsFixed0:2.26-7.el10RHSA-2026:18480
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9linux-sgxFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs-docsNot affected
Red Hat Enterprise Linux 9nodejs-full-i18nNot affected
Red Hat Enterprise Linux 9nodejs-libsNot affected
Red Hat Enterprise Linux 9npmNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 9sgx-commonFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-libsFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-mpaFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-pccsFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-pccs-adminFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9sgx-pckid-toolFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 9tarNot affected
Red Hat Enterprise Linux 9tdx-qgsFixed0:2.26-7.el9RHSA-2026:18868
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8nodejsNot affected
Red Hat Enterprise Linux 8nodejs-develNot affected
Red Hat Enterprise Linux 8nodejs-docsNot affected
Red Hat Enterprise Linux 8nodejs-full-i18nNot affected
Red Hat Enterprise Linux 8nodejs-libsNot affected
Red Hat Enterprise Linux 8nodejs-nodemonNot affected
Red Hat Enterprise Linux 8nodejs-packagingNot affected
Red Hat Enterprise Linux 8nodejs-packaging-bundlerNot affected
Red Hat Enterprise Linux 8npmNot affected
Red Hat Enterprise Linux 8tarNot affected
Red Hat Enterprise Linux 8v8-12.4-develNot affected
Red Hat Enterprise Linux 8v8-13.6-develNot affected
Red Hat Enterprise Linux 7tarNot affected
Red Hat Enterprise Linux 6tarWill not fix
Out of support scope
AlmaLinux 10sgx-commonFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-libsFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-mpaFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-pccsFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-pccs-adminFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10sgx-pckid-toolFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 10tdx-qgsFixed2.26-7.el10ALSA-2026:18480
AlmaLinux 9sgx-commonFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-libsFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-mpaFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-pccsFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-pccs-adminFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9sgx-pckid-toolFixed2.26-7.el9ALSA-2026:18868
AlmaLinux 9tdx-qgsFixed2.26-7.el9ALSA-2026:18868
Rocky Linux 10linux-sgxFixed0:2.26-7.el10RLSA-2026:18480
Rocky Linux 9linux-sgxFixed0:2.26-7.el9RLSA-2026:18868
npm librarytarFixed7.5.4GHSA-r6q2-hw4h-h46w

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.