CVE-2026-140243
JSON

7.2high

node-tar: Symlink escape from the extraction directory via a trailing `/.` in the entry path

Severity
7.2high CVSS:4.0 by GitHub_M
Published
Last changed
Assigned by
GitHub_M

Description

node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, there is a symlink escape from the extraction directory via a trailing /. in the entry path. Any application that extracts attacker-supplied tarballs with tar.x() / tar.extract() and then reads, serves, copies or rewrites the extracted files can be pointed at an arbitrary file outside the extraction directory. This issue is fixed in version 8.0.0.

Affected

Product or packageVersionsReported by
isaacs node-tar>= 7.5.5, < 8.0.0CVE List

Classification

CWE-22CWE-59

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140243 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-140243 changed 2026-12-01Public domain