| 0 |
| url |
VCID-5a1x-1sgy-hbfu |
| vulnerability_id |
VCID-5a1x-1sgy-hbfu |
| summary |
tar has Hardlink Path Traversal via Drive-Relative Linkpath
`tar` (npm) can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as `C:../target.txt`, which enables file overwrite outside `cwd` during normal `tar.x()` extraction. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-29786, GHSA-qffp-2rhf-9h96
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-5a1x-1sgy-hbfu |
|
| 1 |
| url |
VCID-5yd2-xm1n-fyb3 |
| vulnerability_id |
VCID-5yd2-xm1n-fyb3 |
| summary |
Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS
**TITLE**: Race Condition in node-tar Path Reservations via Unicode Sharp-S (ß) Collisions on macOS APFS
**AUTHOR**: Tomás Illuminati |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-23950, GHSA-r6q2-hw4h-h46w
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| url |
VCID-7ue9-bh7a-4uh3 |
| vulnerability_id |
VCID-7ue9-bh7a-4uh3 |
| summary |
Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction
`tar.extract()` in Node `tar` allows an attacker-controlled archive to create a hardlink inside the extraction directory that points to a file outside the extraction root, using default options.
This enables **arbitrary file read and write** as the extracting user (no root, no chmod, no `preservePaths`).
Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-26960, GHSA-83g3-92jg-28cx
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| url |
VCID-geua-c1eg-tqfg |
| vulnerability_id |
VCID-geua-c1eg-tqfg |
| summary |
node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
The `node-tar` library (`<= 7.5.2`) fails to sanitize the `linkpath` of `Link` (hardlink) and `SymbolicLink` entries when `preservePaths` is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to **Arbitrary File Overwrite** via hardlinks and **Symlink Poisoning** via absolute symlink targets. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-23745, GHSA-8qq5-rm4j-mr97
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-geua-c1eg-tqfg |
|
| 4 |
| url |
VCID-msgt-95hz-5yhe |
| vulnerability_id |
VCID-msgt-95hz-5yhe |
| summary |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The npm package "tar" (aka node-tar) has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be outside of the extraction target directory is not extracted. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
|
| fixed_packages |
|
| aliases |
CVE-2021-37713, GHSA-5955-9wpr-37jh
|
| risk_score |
null |
| exploitability |
0.5 |
| weighted_severity |
0.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-msgt-95hz-5yhe |
|
| 5 |
| url |
VCID-n69k-ezmp-eqd6 |
| vulnerability_id |
VCID-n69k-ezmp-eqd6 |
| summary |
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
node-tar contains a vulnerability where the security check for hardlink entries uses different path resolution semantics than the actual hardlink creation logic. This mismatch allows an attacker to craft a malicious TAR archive that bypasses path traversal protections and creates hardlinks to arbitrary files outside the extraction directory. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-24842, GHSA-34x7-hfp2-rc4v
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-n69k-ezmp-eqd6 |
|
| 6 |
| url |
VCID-tev7-7t96-aber |
| vulnerability_id |
VCID-tev7-7t96-aber |
| summary |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The npm package "tar" (aka node-tar) before versions 6.1.1, 5.0.6, 4.4.14, and 3.3.2 has a arbitrary File Creation/Overwrite vulnerability due to insufficient absolute path sanitization. node-tar aims to prevent extraction of absolute file paths by turning absolute paths into relative paths when the `preservePaths` flag is not set to `true`. This is achieved by stripping the absolute path root from any absolute file paths contained in a tar file. For example `/home/user/.bashrc` would turn into `home/user/.bashrc`. This logic was insufficient when file paths contained repeated path roots such as `////home/user/.bashrc`. `node-tar` would only strip a single path root from such paths. When given an absolute file path with repeating path roots, the resulting path (e.g. `///home/user/.bashrc`) would still resolve to an absolute path, thus allowing arbitrary file creation and overwrite. This issue was addressed in releases 3.2.2, 4.4.14, 5.0.6 and 6.1.1. Users may work around this vulnerability without upgrading by creating a custom `onentry` method which sanitizes the `entry.path` or a `filter` method which removes entries with absolute paths. See referenced GitHub Advisory for details. Be aware of CVE-2021-32803 which fixes a similar bug in later versions of tar. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:npm/tar@5.0.6 |
| purl |
pkg:npm/tar@5.0.6 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-5a1x-1sgy-hbfu |
|
| 1 |
| vulnerability |
VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| vulnerability |
VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| vulnerability |
VCID-geua-c1eg-tqfg |
|
| 4 |
| vulnerability |
VCID-msgt-95hz-5yhe |
|
| 5 |
| vulnerability |
VCID-n69k-ezmp-eqd6 |
|
| 6 |
| vulnerability |
VCID-v5jd-drrp-efdc |
|
| 7 |
| vulnerability |
VCID-v62c-ranz-fbfv |
|
| 8 |
| vulnerability |
VCID-wu2w-3mxd-g3ha |
|
| 9 |
| vulnerability |
VCID-xecs-k7yn-fbdh |
|
| 10 |
| vulnerability |
VCID-yady-yadh-sfcy |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:npm/tar@5.0.6 |
|
| 1 |
| url |
pkg:npm/tar@6.1.1 |
| purl |
pkg:npm/tar@6.1.1 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-5a1x-1sgy-hbfu |
|
| 1 |
| vulnerability |
VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| vulnerability |
VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| vulnerability |
VCID-geua-c1eg-tqfg |
|
| 4 |
| vulnerability |
VCID-msgt-95hz-5yhe |
|
| 5 |
| vulnerability |
VCID-n69k-ezmp-eqd6 |
|
| 6 |
| vulnerability |
VCID-v5jd-drrp-efdc |
|
| 7 |
| vulnerability |
VCID-v62c-ranz-fbfv |
|
| 8 |
| vulnerability |
VCID-wu2w-3mxd-g3ha |
|
| 9 |
| vulnerability |
VCID-xecs-k7yn-fbdh |
|
| 10 |
| vulnerability |
VCID-yady-yadh-sfcy |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:npm/tar@6.1.1 |
|
|
| aliases |
CVE-2021-32804, GHSA-3jfq-g458-7qm9
|
| risk_score |
1.6 |
| exploitability |
2.0 |
| weighted_severity |
0.8 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-tev7-7t96-aber |
|
| 7 |
| url |
VCID-v5jd-drrp-efdc |
| vulnerability_id |
VCID-v5jd-drrp-efdc |
| summary |
node-tar Symlink Path Traversal via Drive-Relative Linkpath
`tar` (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as `C:../../../target.txt`, which enables file overwrite outside `cwd` during normal `tar.x()` extraction. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-31802, GHSA-9ppj-qmqm-q256
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-v5jd-drrp-efdc |
|
| 8 |
| url |
VCID-v62c-ranz-fbfv |
| vulnerability_id |
VCID-v62c-ranz-fbfv |
| summary |
Path Traversal
This npm package has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:npm/tar@5.0.8 |
| purl |
pkg:npm/tar@5.0.8 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-5a1x-1sgy-hbfu |
|
| 1 |
| vulnerability |
VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| vulnerability |
VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| vulnerability |
VCID-geua-c1eg-tqfg |
|
| 4 |
| vulnerability |
VCID-msgt-95hz-5yhe |
|
| 5 |
| vulnerability |
VCID-n69k-ezmp-eqd6 |
|
| 6 |
| vulnerability |
VCID-v5jd-drrp-efdc |
|
| 7 |
| vulnerability |
VCID-xecs-k7yn-fbdh |
|
| 8 |
| vulnerability |
VCID-yady-yadh-sfcy |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:npm/tar@5.0.8 |
|
| 1 |
| url |
pkg:npm/tar@6.1.7 |
| purl |
pkg:npm/tar@6.1.7 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-5a1x-1sgy-hbfu |
|
| 1 |
| vulnerability |
VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| vulnerability |
VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| vulnerability |
VCID-geua-c1eg-tqfg |
|
| 4 |
| vulnerability |
VCID-msgt-95hz-5yhe |
|
| 5 |
| vulnerability |
VCID-n69k-ezmp-eqd6 |
|
| 6 |
| vulnerability |
VCID-v5jd-drrp-efdc |
|
| 7 |
| vulnerability |
VCID-xecs-k7yn-fbdh |
|
| 8 |
| vulnerability |
VCID-yady-yadh-sfcy |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:npm/tar@6.1.7 |
|
|
| aliases |
CVE-2021-37701, GHSA-9r2w-394v-53qc
|
| risk_score |
null |
| exploitability |
0.5 |
| weighted_severity |
0.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-v62c-ranz-fbfv |
|
| 9 |
| url |
VCID-wu2w-3mxd-g3ha |
| vulnerability_id |
VCID-wu2w-3mxd-g3ha |
| summary |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The npm package "tar" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `node-tar` aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary `stat` calls to determine whether a given path is a directory, paths are cached when directories are created. This logic was insufficient when extracting tar files that contained both a directory and a symlink with the same name as the directory. This order of operations resulted in the directory being created and added to the `node-tar` directory cache. When a directory is present in the directory cache, subsequent calls to mkdir for that directory are skipped. However, this is also where `node-tar` checks for symlinks occur. By first creating a directory, and then replacing that directory with a symlink, it was thus possible to bypass `node-tar` symlink checks on directories, essentially allowing an untrusted tar file to symlink into an arbitrary location and subsequently extracting arbitrary files into that location, thus allowing arbitrary file creation and overwrite. This issue was addressed in releases 3.2.3, 4.4.15, 5.0.7 and 6.1.2. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:npm/tar@5.0.7 |
| purl |
pkg:npm/tar@5.0.7 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-5a1x-1sgy-hbfu |
|
| 1 |
| vulnerability |
VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| vulnerability |
VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| vulnerability |
VCID-geua-c1eg-tqfg |
|
| 4 |
| vulnerability |
VCID-msgt-95hz-5yhe |
|
| 5 |
| vulnerability |
VCID-n69k-ezmp-eqd6 |
|
| 6 |
| vulnerability |
VCID-v5jd-drrp-efdc |
|
| 7 |
| vulnerability |
VCID-v62c-ranz-fbfv |
|
| 8 |
| vulnerability |
VCID-xecs-k7yn-fbdh |
|
| 9 |
| vulnerability |
VCID-yady-yadh-sfcy |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:npm/tar@5.0.7 |
|
| 1 |
| url |
pkg:npm/tar@6.1.2 |
| purl |
pkg:npm/tar@6.1.2 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-5a1x-1sgy-hbfu |
|
| 1 |
| vulnerability |
VCID-5yd2-xm1n-fyb3 |
|
| 2 |
| vulnerability |
VCID-7ue9-bh7a-4uh3 |
|
| 3 |
| vulnerability |
VCID-geua-c1eg-tqfg |
|
| 4 |
| vulnerability |
VCID-msgt-95hz-5yhe |
|
| 5 |
| vulnerability |
VCID-n69k-ezmp-eqd6 |
|
| 6 |
| vulnerability |
VCID-v5jd-drrp-efdc |
|
| 7 |
| vulnerability |
VCID-v62c-ranz-fbfv |
|
| 8 |
| vulnerability |
VCID-xecs-k7yn-fbdh |
|
| 9 |
| vulnerability |
VCID-yady-yadh-sfcy |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:npm/tar@6.1.2 |
|
|
| aliases |
CVE-2021-32803, GHSA-r628-mhmh-qjhw
|
| risk_score |
null |
| exploitability |
0.5 |
| weighted_severity |
0.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-wu2w-3mxd-g3ha |
|
| 10 |
| url |
VCID-xecs-k7yn-fbdh |
| vulnerability_id |
VCID-xecs-k7yn-fbdh |
| summary |
Denial of service while parsing a tar file due to lack of folders count validation
Denial of service by crashing the nodejs client when attempting to parse a tar archive, make it run out of heap memory and consuming server CPU and memory resources |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-28863, GHSA-f5x3-32g6-xq36
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-xecs-k7yn-fbdh |
|
| 11 |
| url |
VCID-yady-yadh-sfcy |
| vulnerability_id |
VCID-yady-yadh-sfcy |
| summary |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The npm package "tar" (aka node-tar) has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary stat calls to determine whether a given path is a directory, paths are cached when directories are created. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
|
| fixed_packages |
|
| aliases |
CVE-2021-37712, GHSA-qq89-hq3f-393p
|
| risk_score |
null |
| exploitability |
0.5 |
| weighted_severity |
0.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-yady-yadh-sfcy |
|