
CVE catalog
CVE-2026-23950
node-tar: CVE-2026-23950
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-tar | sid | 7.5.22+~4.0.1-1 | fixed |
| Debian | node-tar | forky | 7.5.22+~4.0.1-1 | fixed |
| Debian | node-tar | trixie | 6.2.1+~cs7.0.8-1+deb13u1 | fixed |
| Debian | node-tar | bookworm | 6.1.13+~cs7.0.5-1 | vulnerable |
| Debian | node-tar | bookworm-security | 6.1.13+~cs7.0.5-1+deb12u1 | vulnerable |
| Npm | tar | Not reported | 7.5.4 | fixed |
| Cpe | tar | Not reported | 7.5.4 | fixed |
| Ubuntu | node-tar | pro | 4.4.10+ds1-2 | vulnerable |
| Ubuntu | node-tar | pro | 4.4.10+ds1-2ubuntu1 | vulnerable |
| Ubuntu | node-tar | pro | 4.4.10+ds1-2ubuntu1+esm1 | vulnerable |
| Ubuntu | node-tar | 18.04 | 2.2.1-1 | vulnerable |
| Ubuntu | node-tar | 22.04 | 6.1.7+~cs11.3.10-1 | vulnerable |
| Ubuntu | node-tar | 22.04 | 6.1.11+~cs11.3.10-1 | vulnerable |
| Ubuntu | node-tar | 22.04 | 6.1.11+ds1+~cs6.0.6-1 | vulnerable |
| Ubuntu | node-tar | 24.04 | 6.1.13+~cs7.0.5-1 | vulnerable |
| Ubuntu | node-tar | 24.04 | 6.1.13+~cs7.0.5-3 | vulnerable |
| Ubuntu | node-tar | 25.10 | 6.2.1+~cs7.0.8-1 | vulnerable |
| Ubuntu | node-tar | 26.10 | 6.2.1+ds1+~cs6.1.13-10 | vulnerable |
| Ubuntu | node-tar | 26.10 | 7.5.22+~4.0.1-1 | vulnerable |
| Ubuntu | node-tar | 26.04 | 6.2.1+~cs7.0.8-1 | vulnerable |
| Ubuntu | node-tar | 26.04 | 6.2.1+ds1+~cs6.1.13-6 | vulnerable |
| Ubuntu | node-tar | 26.04 | 6.2.1+ds1+~cs6.1.13-7 | vulnerable |
| Ubuntu | node-tar | 26.04 | 6.2.1+ds1+~cs6.1.13-10 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-tar | source | sid | 6.2.1+ds1+~cs6.1.13-7 | unimportant | Not reported | Not reported |
| Debian | node-tar | source | forky | 6.2.1+ds1+~cs6.1.13-7 | unimportant | Not reported | Not reported |
| Debian | node-tar | source | trixie | 6.2.1+~cs7.0.8-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | node-tar | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
| Npm | tar | npm | Not reported | 7.5.4 | Not reported | GHSA-R6Q2-HW4H-H46W | Not reported |
| Cpe | tar | cpe | Not reported | 7.5.4 | Not reported | NVD-CVE-2026-23950 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-tar]Affected
Details (4)
6.1.13+~cs7.0.5-1· all · bookwormAffected
dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
6.1.13+~cs7.0.5-1· all · bookwormAffected
dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityAffected
dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityAffected
dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
[Debian 13 (Trixie)]
- [node-tar]Fixed
Details (2)
6.2.1+~cs7.0.8-1+deb13u1· all · trixieFixed · Fixed:
6.2.1+~cs7.0.8-1+deb13u1dsa · node-tar · debian · 13
6.2.1+~cs7.0.8-1+deb13u1· all · trixieFixed · Fixed:
6.2.1+~cs7.0.8-1+deb13u1dsa · node-tar · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_18480.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-23950]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-23950]
- [https://osv.dev/vulnerability/GHSA-r6q2-hw4h-h46w]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-23950]
- [https://security-tracker.debian.org/tracker/CVE-2026-23950]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23950.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0770.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]