CVE-2026-24842
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
8.2
HIGH
CVSS 3.1
EPSS 0.03%
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.
How to fix CVE-2026-24842
To remediate CVE-2026-24842, upgrade the affected package to a fixed version below.
- —upgrade to 6.0.5+ds1+~cs11.3.9-1+deb11u3 or later
- —upgrade to 7.5.7 or later
Is CVE-2026-24842 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 6.0.5+ds1+~cs11.3.9-1+deb11u3
- from 0, < 7.5.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |