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.
CVSS Details
- CVSS 3.1 Base Score: 8.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade sgx-pckid-toolUpgrade sgx-commonUpgrade sgx-pccsUpgrade sgx-libsUpgrade tdx-qgsUpgrade sgx-mpaUpgrade sgx-pccs-admin | May 27, 2026 | May 19, 2026 |
| Amazon_linux_2023 | — | Upgrade nodejs22-docsUpgrade nodejs20-debuginfoUpgrade nodejs24-libsUpgrade nodejs22Upgrade nodejs20-libsUpgrade nodejs24-develUpgrade nodejs20Upgrade nodejs22-debuginfoUpgrade nodejs24-libs-debuginfoUpgrade nodejs24-docsUpgrade nodejs24-debugsourceUpgrade nodejs20-docsUpgrade nodejs22-libsUpgrade v8-11.3-develUpgrade nodejs20-npmUpgrade nodejs22-libs-debuginfoUpgrade nodejs20-full-i18nUpgrade nodejs24-npmUpgrade nodejs20-develUpgrade v8-12.4-develUpgrade nodejs20-libs-debuginfoUpgrade nodejs22-npmUpgrade v8-13.6-develUpgrade nodejs20-debugsourceUpgrade nodejs22-full-i18nUpgrade nodejs24Upgrade nodejs22-develUpgrade nodejs22-debugsourceUpgrade nodejs24-debuginfoUpgrade nodejs24-full-i18n | Mar 9, 2026 | Jan 20, 2026 |
| Atlassian Jira | — | Upgrade to the latest version of Atlassian JIRA | Mar 18, 2026 | Mar 17, 2026 |
| Debian | — | Upgrade node-tar | Jul 23, 2026 | Jul 23, 2026 |
| Red Hat Jboss Eap | — | — | Jan 21, 2026 | Jan 20, 2026 |
| Redhat_linux | — | Upgrade sgx-pccsUpgrade linux-sgx-debugsourceUpgrade tdx-attest-libs-debuginfoUpgrade sgx-pccs-debuginfoUpgrade tdx-qgs-debuginfoUpgrade sgx-enclave-devel-debuginfoUpgrade linux-sgx-debuginfoUpgrade sgx-libs-debuginfoUpgrade sgx-pckid-toolUpgrade tdx-qgsUpgrade sgx-mpa-debuginfoUpgrade sgx-pckid-tool-debuginfoUpgrade sgx-pccs-adminUpgrade sgx-libsNo solution existsUpgrade sgx-commonUpgrade sgx-mpa | May 20, 2026 | Jan 20, 2026 |
| Rocky_linux | — | Upgrade sgx-libsUpgrade sgx-mpaUpgrade sgx-pccs-adminUpgrade linux-sgx-debugsourceUpgrade sgx-pccsUpgrade sgx-pckid-toolUpgrade sgx-libs-debuginfoUpgrade sgx-pccs-debuginfoUpgrade sgx-pckid-tool-debuginfoUpgrade tdx-qgs-debuginfoUpgrade linux-sgx-debuginfoUpgrade sgx-commonUpgrade sgx-mpa-debuginfoUpgrade tdx-qgs | Jun 1, 2026 | May 28, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub