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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| isaacs | node-tar | < 7.5.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-tar | 6.2.1+ds1+~cs6.1.13-7 | — |
| Debian 13 | node-tar | 6.2.1+~cs7.0.8-1+deb13u1 | — |
| Debian 12 | node-tar | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-tar | No fix yet | — |
| Ubuntu 26.04 LTS | node-tar | No fix yet | — |
| Ubuntu 25.10 | node-tar | No fix yet | — |
| Ubuntu 24.04 LTS | node-tar | No fix yet | — |
| Ubuntu 22.04 LTS | node-tar | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-tar | No fix yet | — |
| Ubuntu Pro 20.04 LTS | node-tar | No fix yet | — |
| Ubuntu Pro 16.04 LTS | node-tar | No fix yet | — |
| Ubuntu Pro 14.04 LTS | node-tar | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | sgx-mpa +7 | 2.26-7.el10 | RHSA-2026:18480 |
| RHEL 9 | sgx-mpa +7 | 2.26-7.el9 | RHSA-2026:18868 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | sgx-mpa +6 | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 9 | sgx-mpa +6 | 2.26-7.el9 | ALSA-2026:18868 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | linux-sgx | 2.26-7.el10 | RLSA-2026:18480 |
| Rocky Linux 9 | linux-sgx | 2.26-7.el9 | RLSA-2026:18868 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs20 +4 | 1:20.20.0-1.amzn2023.0.2 | ALAS2023-2026-1464 |
| Amazon Linux 2023 | nodejs20-npm | 1:10.8.2-1.20.20.0.1.amzn2023.0.2 | ALAS2023-2026-1464 |
| Amazon Linux 2023 | nodejs22 +4 | 1:22.22.0-1.amzn2023.0.2 | ALAS2023-2026-1465 |
| Amazon Linux 2023 | nodejs22-npm | 1:10.9.4-1.22.22.0.1.amzn2023.0.2 | ALAS2023-2026-1465 |
| Amazon Linux 2023 | nodejs24 +4 | 1:24.14.0-1.amzn2023.0.1 | ALAS2023-2026-1466 |
| Amazon Linux 2023 | nodejs24-npm | 1:11.9.0-1.24.14.0.1.amzn2023.0.1 | ALAS2023-2026-1466 |
| Amazon Linux 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.20.0.1.amzn2023.0.2 | ALAS2023-2026-1464 |
| Amazon Linux 2023 | v8-12.4-devel | 3:12.4.254.21-1.22.22.0.1.amzn2023.0.2 | ALAS2023-2026-1465 |
| Amazon Linux 2023 | v8-13.6-devel | 3:13.6.233.17-1.24.14.0.1.amzn2023.0.1 | ALAS2023-2026-1466 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | sgx-mpa +6 | 2.26-7.el10 | ELSA-2026-18480 |
| Oracle Linux 9 | sgx-mpa +6 | 2.26-7.el9 | ELSA-2026-18868 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server | 4.106.3-r4 | — |
| Wolfi rolling | jupyter-base-notebook | 7.6.3-r2 | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | kubeflow-centraldashboard | 1.10.0-r10 | — |
| Wolfi rolling | kubeflow-pipelines-frontend | 2.15.0-r12 | — |
| Wolfi rolling | lerna | 9.0.3-r1 | — |
| Wolfi rolling | node-gyp | 12.2.0-r0 | — |
| Wolfi rolling | opensearch-dashboards-3 | 3.5.0-r0 | — |
| Wolfi rolling | pnpm-stage0 | 8.7.4-r6 | — |
| Wolfi rolling | prism | 5.14.3-r5 | — |
| Wolfi rolling | pulumi-language-nodejs | 3.215.0-r1 | — |
| Wolfi rolling | py3.10-jupyterlab +3 | 4.6.1-r1 | — |
| Wolfi rolling | renovate | 42.92.4-r0 | — |
| Wolfi rolling | saf | 1.6.0-r0 | — |
| Wolfi rolling | sqlpad | 7.5.7-r6 | — |
| Wolfi rolling | tileserver-gl | 5.5.0-r2 | — |
| Wolfi rolling | vitess-23 | 23.0.1-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | tar | < 7.5.4 | 7.5.4 | GHSA-r6q2-hw4h-h46w |
Advisories 14
- ALSA-2026:18868 Important: linux-sgx security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:18480 Important: linux-sgx security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:18868 Red Hat Security Advisory: linux-sgx security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2026:18480 Red Hat Security Advisory: linux-sgx security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- WID-SEC-2026-3461 HCL BigFix Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 5, 2026
- WID-SEC-2026-1229 Atlassian Bamboo, Bitbucket, Confluence, Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 2, 2026
- ELSA-2026-18480 Important: linux-sgx security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 8, 2026
- ELSA-2026-18868 Important: linux-sgx security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 12, 2026
- RLSA-2026:18480 Important: linux-sgx security update Rocky Linux Security Advisories · May 29, 2026
- RLSA-2026:18868 Important: linux-sgx security update Rocky Linux Security Advisories · May 28, 2026
- WID-SEC-2026-0770 Atlassian Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- ALAS2023-2026-1464 Important: nodejs20 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 5, 2026
- ALAS2023-2026-1465 Important: nodejs22 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 5, 2026
- ALAS2023-2026-1466 Important: nodejs24 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 5, 2026