CVE-2026-24842: node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
Vulnerability summary
CVE-2026-24842 is a high (CVSS 8.2) vulnerability in isaacs node-tar. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 49.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 28-01-2026PublishedVulnerability first disclosed.
- 07-09-2026Last modifiedVulnerability information updated.
Description
node-tar,a Tar for Node.js, contains a vulnerability in versions prior to 7.5.7 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. Version 7.5.7 contains a fix for the issue.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · NpmEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.62% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundNode Tar
Maturity: poc
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard81 products
- actions-runner< 2.331.0-r1
- code-server< 4.106.3-r4
- drupal-11.3< 11.3.13-r3
- gitlab-rails-ce-18.1< 18.1.6-r31
- gitlab-rails-ce-18.10All versions (No fix recorded)
Wolfi30 products
- code-server< 4.106.3-r4
- jupyter-base-notebook< 7.6.3-r2
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compat< 0.19.0-r40
- katib-suggestion-hyperband< 0.19.0-r31
Alpine1 product
- pnpm< 10.33.4-r0
Debian1 product
- node-tar< 6.2.1+ds1+~cs6.1.13-10
Npm1 product
- tar< 7.5.7
Opensuse1 product
- pnpm&distro=openSUSE Tumbleweed< 10.32.1-1.1
Ubuntu1 product
- node-tarAll versions (No fix recorded)
8 vendors · 118 products
References
19 links- github.com/isaacs/node-tar/security/advisories/GHSA-34x7-hfp2-rc4vX Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
- github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46X Refsource MISCREPORTFIXWEBPatch
Show all 19 references
- github.com/isaacs/node-tarPACKAGE