Vulnerability
CVE-2026-23950
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.
259 advisories report this vulnerability, across 10 ecosystems.
Advisories in Wolfi
- CGA-227w-gh3m-5f86
- CGA-24px-2xrr-m37c
- CGA-269h-wmc2-vg43
- CGA-26xq-4c47-8cqp
- CGA-288p-pj3c-4r82
- CGA-2h3r-hx66-v6mj
- CGA-2h57-7pq5-jwvm
- CGA-3p99-4xj4-8835
- CGA-3qcg-f627-46w8
- CGA-3vcm-rf34-7mr2
- CGA-3w8j-3rwr-2mgr
- CGA-43r7-g249-v437
- CGA-455r-h3mg-gpvc
- CGA-46c8-j35m-c35j
- CGA-4mvq-4rx5-7587
- CGA-4qj5-xmvj-m678
- CGA-4r9f-jmqc-h8gp
- CGA-58v2-6jgp-v54j
- CGA-5cgm-7h5r-cgm2
- CGA-5cvm-9phc-mc4m
- CGA-5cx6-fm6p-xwvv
- CGA-5f4v-g8g2-x8c5
- CGA-5qrc-5mrm-539x
- CGA-63q2-c8pv-xrrw
- CGA-65cg-gvhq-65xh
- CGA-6p8r-x6w4-cqf4
- CGA-6q5x-q953-9w5w
- CGA-6qg8-cx9r-93qg
- CGA-6rfv-8778-m6g4
- CGA-785m-jcxf-67x3
- CGA-7rwc-7gw3-mp4j
- CGA-7xr9-m9mh-x82q
- CGA-837j-cqgc-m555
- CGA-866p-vmwx-vxmp
- CGA-8r59-46xc-wfxv
- CGA-95f6-c5gc-r8qq
- CGA-96wp-92gr-58r6
- CGA-986v-6wgc-w28q
- CGA-99fq-j3q7-49pv
- CGA-9hvr-5mp8-w246
- CGA-ccg8-xvpw-gr3c
- CGA-cgvm-29hc-5qvx
- CGA-cv62-wqfm-g8m2
- CGA-f846-mhrm-95ph
- CGA-ffxg-j66f-8f88
- CGA-fmg6-h77c-p329
- CGA-g2f8-8whp-878p
- CGA-g2gv-xgf9-8x5p
- CGA-g357-9rrj-gm9v
- CGA-g8q3-g9jw-g7r3
- CGA-gfw4-w83v-94gv
- CGA-hrxq-xfjg-f3w4
- CGA-jg8h-8w2c-rgg3
- CGA-jjh2-xp4w-r7ff
- CGA-jp5q-fvw7-rxwp
- CGA-m8cc-x477-cmw4
- CGA-mr76-jgg5-8692
- CGA-p368-5xpm-g99w
- CGA-p3x6-p5rr-2x9h
- CGA-pwp8-4vfh-7q24
- CGA-pww5-v6q5-gpmp
- CGA-q7mr-34w9-rpxm
- CGA-q7qr-g99f-25vv
- CGA-q9jw-f53j-wf63
- CGA-qhqg-cx28-9959
- CGA-qj68-wc7m-9vh6
- CGA-qm7x-mmc5-74rp
- CGA-qv22-927j-pf5v
- CGA-r2m6-8x4q-9622
- CGA-r586-j769-jwf5
- CGA-rjmm-hpvf-825p
- CGA-rmw2-j5pw-77v3
- CGA-v8x7-cv3x-rhx3
- CGA-v9hf-jjch-3p7q
- CGA-vm39-vw48-wf3v
- CGA-vw7f-9w3q-j3gc
- CGA-w32x-p5x9-j47m
- CGA-w7m2-7q22-5vqm
- CGA-w9r9-q622-cmj7
- CGA-wc8f-94v5-62c6
- CGA-wqrr-cwh2-v4c8
- CGA-wrwr-chpm-6cqf
- CGA-wwpj-rfcj-mx23
- CGA-x25c-h3px-qvq9
- CGA-x7c4-cf98-gfq2
- CGA-xph9-7xrf-5mxm
References
- https://github.com/isaacs/node-tar/commit/3b1abfae650056edfabcbe0a0df5954d390521e6
- https://github.com/isaacs/node-tar/security/advisories/GHSA-r6q2-hw4h-h46w
- https://access.redhat.com/errata/RHSA-2026:18480
- https://access.redhat.com/errata/RHSA-2026:18868
- https://access.redhat.com/errata/RHSA-2026:2144
- https://access.redhat.com/errata/RHSA-2026:2926
- https://access.redhat.com/errata/RHSA-2026:6192
- https://access.redhat.com/security/cve/CVE-2026-23950
- https://bugzilla.redhat.com/show_bug.cgi?id=2431036
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23950.json