Skip to main content
← All vulnerabilities
CVE-2026-24842GHSA-34X7-HFP2-RC4V

node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • isaacs node-tar

    fixed in 7.5.7

  • tarnpm

    fixed in 7.5.7

References 2

GitHub · isaacs/node-tar