Security mailing lists by PureSourceCode

CVE-2026-24842

HIGH 8.2CVSS 3.1

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

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.

Published
28 Jan 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22CWE-59
Also known as
GHSA-34x7-hfp2-rc4v
Sources
NVDJSONOSV GHSA-34x7-hfp2-rc4vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD isaacs tar
cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*
< 7.5.7 7.5.7
OSV npm tar < 7.5.7 7.5.7

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 28 Jan 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 28 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.