
CVE-Katalog
CVE-2026-140249
node-tar affected and fixed versions
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink target escapes the extraction directory through an in-archive symlink chain. An attacker who supplies a tarball can make tar.x() with default options leave symlinks inside the extraction directory that point to any path on the system. tar itself does not write through them, but any later read or write of the extracted files by the application follows them: the demonstration overwrites a file outside the extraction directory and resolves a link to /etc/hostname. This gives arbitrary file read and write as the extracting user. This issue is fixed in version 8.0.0.
- Schweregrad
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.94% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | node-tar | 7.5.24+~4.0.1-1 | FixedDistribution-reported fixed boundary | [CVE-2026-140249] |
| Debiansid | node-tar | 7.5.24+~4.0.1-2 | Fixed | [CVE-2026-140249] |
| Debianforky | node-tar | 7.5.24+~4.0.1-1 | FixedDistribution-reported fixed boundary | [CVE-2026-140249] |
| Debianforky | node-tar | 7.5.24+~4.0.1-2 | Fixed | [CVE-2026-140249] |
More observations (20)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | node-tar | Not reported | AffectedDistribution reports no fix | [CVE-2026-140249] |
| Debianbookworm | node-tar | 6.1.13+~cs7.0.5-1 | Affected | [CVE-2026-140249] |
| Debianbookworm-security | node-tar | 6.1.13+~cs7.0.5-1+deb12u1 | Affected | [CVE-2026-140249] |
| Debiantrixie | node-tar | Not reported | AffectedDistribution reports no fix | [CVE-2026-140249] |
| Debiantrixie | node-tar | 6.2.1+~cs7.0.8-1+deb13u1 | Affected | [CVE-2026-140249] |
| Ubuntu18.04 | node-tar | 2.2.1-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu22.04 | node-tar | 6.1.11+ds1+~cs6.0.6-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu22.04 | node-tar | 6.1.11+~cs11.3.10-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu22.04 | node-tar | 6.1.7+~cs11.3.10-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu24.04 | node-tar | 6.1.13+~cs7.0.5-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu24.04 | node-tar | 6.1.13+~cs7.0.5-3 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu26.04 | node-tar | 6.2.1+ds1+~cs6.1.13-10 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu26.04 | node-tar | 6.2.1+ds1+~cs6.1.13-6 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu26.04 | node-tar | 6.2.1+ds1+~cs6.1.13-7 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu26.04 | node-tar | 6.2.1+~cs7.0.8-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu26.10 | node-tar | 6.2.1+ds1+~cs6.1.13-10 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntu26.10 | node-tar | 7.5.22+~4.0.1-1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntupro | node-tar | 4.4.10+ds1-2 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntupro | node-tar | 4.4.10+ds1-2ubuntu1 | Affected | [UBUNTU-CVE-2026-140249] |
| Ubuntupro | node-tar | 4.4.10+ds1-2ubuntu1+esm1 | Affected | [UBUNTU-CVE-2026-140249] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-tar]Betroffen
Details (4)
6.1.13+~cs7.0.5-1· all · bookwormBetroffen
dsa · node-tar · debian · bookworm; pypi · node-tar · debian · 12
6.1.13+~cs7.0.5-1· all · bookwormBetroffen
dsa · node-tar · debian · bookworm; pypi · node-tar · debian · 12
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityBetroffen
dsa · node-tar · debian · bookworm; pypi · node-tar · debian · 12
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityBetroffen
dsa · node-tar · debian · bookworm; pypi · node-tar · debian · 12
[Debian 13 (Trixie)]
- [node-tar]Betroffen
Details (2)
6.2.1+~cs7.0.8-1+deb13u1· all · trixieBetroffen
pypi · node-tar · debian · 13
6.2.1+~cs7.0.8-1+deb13u1· all · trixieBetroffen
pypi · node-tar · debian · 13
Beobachtet: