CVE-2026-140243
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 package | Versions | Reported by |
|---|---|---|
| isaacs node-tar | >= 7.5.5, < 8.0.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140243 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-140243 changed 2026-12-01 | Public domain |