---
title: "CVE-2026-140235: node-tar - Path Traversal"
description: "node-tar 7.5.0 to < 8.0.0 contains a path traversal caused by improper splitting of length-delimited PAX records on newline characters in parseKV, letting attackers forge entry attributes, exploit requires crafted archive with malicious PAX records."
url: https://panop.io/threat-heartbeat/CVE-2026-140235/
---

# CVE-2026-140235 node-tar - Path Traversal

node-tar 7.5.0 to < 8.0.0 contains a path traversal caused by improper splitting of length-delimited PAX records on newline characters in parseKV, letting attackers forge entry attributes, exploit requires crafted archive with malicious PAX records.

CVSS base score 7.2 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Not required

EPSS

0.77% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-140235)

## Details

Type

Path Traversal

Impact

File System Write

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Published

1 December 2026

Updated

3 December 2026

Weakness

[CWE-20](https://cwe.mitre.org/data/definitions/20.html)

## Vendor fix

Update to version 8.0.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-140235](https://nvd.nist.gov/vuln/detail/CVE-2026-140235)
- [https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237](https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237)
- [https://github.com/isaacs/node-tar/releases/tag/v8.0.0](https://github.com/isaacs/node-tar/releases/tag/v8.0.0)
- [https://github.com/isaacs/node-tar/security/advisories/GHSA-rgjp-p5j7-w36x](https://github.com/isaacs/node-tar/security/advisories/GHSA-rgjp-p5j7-w36x)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
