{"id":"CVE-2026-23950","published":"2026-01-20T00:40:48Z","modified":"2026-09-01T12:04:49Z","title":"node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS","vendor":"isaacs","product":"node-tar","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.18659,"provenance":"source"},"cwes":[{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"},{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-r6q2-hw4h-h46w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/node-tar/commit/3b1abfae650056edfabcbe0a0df5954d390521e6","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-23950","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2431036","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23950.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18480","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18868","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6192","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2926","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2144","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":3.73},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"isaacs","affectedVersions":[{"vendor":"isaacs","product":"node-tar","versions":["< 7.5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-21T20:15:29.211170Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tar","vulnerableRanges":["<7.5.4"],"patched":["7.5.4"],"from":["GHSA-r6q2-hw4h-h46w"],"provenance":"source"}],"summary":{"text":"The node-tar library (isaacs/node-tar) through version 7.5.3 has a race condition in its path-reservations system, which fails to serialize operations on Unicode-colliding paths such as \"ß\" and \"ss\" on case- and normalization-insensitive filesystems like macOS APFS. An attacker who can supply a crafted tar archive for extraction, with the victim user interacting by extracting it, can exploit the parallel processing to plant symlinks and achieve arbitrary file overwrite.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:25Z"},"euvd":{"id":"EUVD-2026-3595","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-28863","published":"2024-03-21","fixed":"6.2.1","kev":false},{"cve":"CVE-2025-64118","published":"2025-10-30","fixed":"7.5.2","kev":false},{"cve":"CVE-2026-23745","published":"2026-01-16","fixed":"7.5.3","kev":false,"link":{"from":"CVE-2026-23745","to":"CVE-2026-23950","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.3","toFixed":"7.5.4","daysApart":4}]}},{"cve":"CVE-2026-23950","published":"2026-01-20","fixed":"7.5.4","kev":false},{"cve":"CVE-2026-24842","published":"2026-01-28","fixed":"7.5.7","kev":false,"link":{"from":"CVE-2026-23950","to":"CVE-2026-24842","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.4","toFixed":"7.5.7","daysApart":8}]}},{"cve":"CVE-2026-26960","published":"2026-02-20","fixed":"7.5.8","kev":false},{"cve":"CVE-2026-29786","published":"2026-03-07","fixed":"7.5.10","kev":false}],"package":"npm:tar"}}