# CVE-2026-23950: node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-176, CWE-352, CWE-367
- **Aliases:** GHSA-r6q2-hw4h-h46w
- **Published:** 2026-01-20T00:40:48.510Z
- **Modified:** 2026-09-10T03:50:59.225Z

## Who should check

- Projects that depend on npm package tar (\< 7.5.4)
- Anyone running isaacs node-tar \< 7.5.4

## 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.

## Affected and fixed versions

- npm `tar`: affected \< 7.5.4; fixed 7.5.4 (osv)
- isaacs node-tar: \< 7.5.4 (cvelist)

## Mitigation

- Upgrade tar to 7.5.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23950. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23950.md
Affected: tar < 7.5.4
Fixed in: 7.5.4

Steps:
1. Search this machine and project for tar (npm), isaacs node-tar: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23950 being exploited?

There is no confirmed exploitation: CVE-2026-23950 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23950?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-23950?

tar \< 7.5.4.

### Is there a fix for CVE-2026-23950?

Yes. Fixed in 7.5.4. Upgrade tar to 7.5.4 or later.

### How do I check if I'm affected by CVE-2026-23950?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/isaacs/node-tar/security/advisories/GHSA-r6q2-hw4h-h46w>
- vendor: <https://access.redhat.com/errata/RHSA-2026:18480>
- vendor: <https://access.redhat.com/errata/RHSA-2026:18868>
- vendor: <https://access.redhat.com/errata/RHSA-2026:6192>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2926>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2144>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-23950>
- patch: <https://github.com/isaacs/node-tar/commit/3b1abfae650056edfabcbe0a0df5954d390521e6>
- other: <https://access.redhat.com/security/cve/CVE-2026-23950>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2431036>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23950.json>
- other: <https://github.com/isaacs/node-tar>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23950>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r6q2-hw4h-h46w> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-23950> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23950>
