CVE-2026-140249
node- tar: Symlink target escapes the extraction directory through an in- archive symlink chain
- Severity
- 7.2HighNetwork attack, no privileges, needs user interactionCVSS 4.0, CVE List
- Exploitation
- None reported
- Exploit chance
- 0.94% in 30 daysPercentile62ndEPSS, scored
- Listed fix
8.0.0for tar (npm)From GitHub Advisories and OSV69 other affected packages
Overview
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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- None
- User interaction
- Passive
Impact on the vulnerable system
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Impact on subsequent systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:NExploit chance over time
Affected
Packages 70
| Package | Affected | Fixed |
|---|---|---|
tarnpm | 7.5.5 up to 8.0.0 | 8.0.0 |
node-tarDebian:12 | All versions, plus listed versions 6.1.13+~cs7.0.5-16.1.13+~cs7.0.5-1+deb12u16.1.13+~cs7.0.5-26.1.13+~cs7.0.5-36.1.13+~cs7.0.5-4 Show 17 more versionsShow less6.2.1+ds1+~cs6.1.13-16.2.1+ds1+~cs6.1.13-106.2.1+ds1+~cs6.1.13-116.2.1+ds1+~cs6.1.13-26.2.1+ds1+~cs6.1.13-36.2.1+ds1+~cs6.1.13-46.2.1+ds1+~cs6.1.13-56.2.1+ds1+~cs6.1.13-66.2.1+ds1+~cs6.1.13-76.2.1+ds1+~cs6.1.13-86.2.1+ds1+~cs6.1.13-96.2.1+~cs7.0.8-17.5.16+~4.0.1-17.5.16+~4.0.1-27.5.19+~4.0.1-17.5.19+~4.0.1-27.5.22+~4.0.1-1 | None listed |
node-tarDebian:13 | All versions, plus listed versions 6.2.1+ds1+~cs6.1.13-16.2.1+ds1+~cs6.1.13-106.2.1+ds1+~cs6.1.13-116.2.1+ds1+~cs6.1.13-26.2.1+ds1+~cs6.1.13-3 Show 13 more versionsShow less6.2.1+ds1+~cs6.1.13-46.2.1+ds1+~cs6.1.13-56.2.1+ds1+~cs6.1.13-66.2.1+ds1+~cs6.1.13-76.2.1+ds1+~cs6.1.13-86.2.1+ds1+~cs6.1.13-96.2.1+~cs7.0.8-16.2.1+~cs7.0.8-1+deb13u17.5.16+~4.0.1-17.5.16+~4.0.1-27.5.19+~4.0.1-17.5.19+~4.0.1-27.5.22+~4.0.1-1 | None listed |
node-tarDebian:14 | All versions, plus listed versions 6.2.1+ds1+~cs6.1.13-16.2.1+ds1+~cs6.1.13-106.2.1+ds1+~cs6.1.13-116.2.1+ds1+~cs6.1.13-26.2.1+ds1+~cs6.1.13-3 Show 12 more versionsShow less6.2.1+ds1+~cs6.1.13-46.2.1+ds1+~cs6.1.13-56.2.1+ds1+~cs6.1.13-66.2.1+ds1+~cs6.1.13-76.2.1+ds1+~cs6.1.13-86.2.1+ds1+~cs6.1.13-96.2.1+~cs7.0.8-17.5.16+~4.0.1-17.5.16+~4.0.1-27.5.19+~4.0.1-17.5.19+~4.0.1-27.5.22+~4.0.1-1 | None listed |
calico-whisker-3.32Docker Hardened Images:Alpine:3.23 | 3.32.3-r0 and later, plus listed versions 3.32.3-r13.32.3-r23.32.4-r03.32.4-r13.32.4-r23.32.4-r33.32.4-r43.32.4-r5 | None listed |
calico-whisker-3.32Docker Hardened Images:Alpine:3.24 | 3.32.3-r0 and later, plus listed versions 3.32.3-r13.32.3-r23.32.4-r03.32.4-r13.32.4-r23.32.4-r33.32.4-r43.32.4-r5 | None listed |
calico-whisker-3.33Docker Hardened Images:Alpine:3.23 | 3.33.0-r0 and later, plus listed versions 3.33.0-r13.33.0-r23.33.0-r33.33.1-r03.33.1-r13.33.1-r23.33.1-r33.33.1-r4 | None listed |
calico-whisker-3.33Docker Hardened Images:Alpine:3.24 | 3.33.0-r0 and later, plus listed versions 3.33.0-r13.33.0-r23.33.0-r33.33.1-r03.33.1-r13.33.1-r23.33.1-r33.33.1-r4 | None listed |
calico-whisker-fips-3.32Docker Hardened Images:Alpine:3.23 | 3.32.3-r0 and later, plus listed versions 3.32.3-r13.32.3-r23.32.4-r03.32.4-r13.32.4-r23.32.4-r33.32.4-r43.32.4-r5 | None listed |
calico-whisker-fips-3.32Docker Hardened Images:Alpine:3.24 | 3.32.3-r0 and later, plus listed versions 3.32.3-r13.32.3-r23.32.4-r03.32.4-r13.32.4-r23.32.4-r33.32.4-r43.32.4-r5 | None listed |
Show 60 more packagesShow less
| Package | Affected | Fixed |
|---|---|---|
calico-whisker-fips-3.33Docker Hardened Images:Alpine:3.23 | 3.33.0-r0 and later, plus listed versions 3.33.0-r13.33.0-r23.33.0-r33.33.1-r03.33.1-r13.33.1-r23.33.1-r33.33.1-r4 | None listed |
calico-whisker-fips-3.33Docker Hardened Images:Alpine:3.24 | 3.33.0-r0 and later, plus listed versions 3.33.0-r13.33.0-r23.33.0-r33.33.1-r03.33.1-r13.33.1-r23.33.1-r33.33.1-r4 | None listed |
directus-12Docker Hardened Images:Alpine:3.23 | 12.4.1-r0 and later, plus listed versions 12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0 Show 19 more versionsShow less12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4 | None listed |
directus-12Docker Hardened Images:Alpine:3.24 | 12.4.1-r0 and later, plus listed versions 12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0 Show 19 more versionsShow less12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4 | None listed |
kyverno-policy-reporter-ui-devDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-ui-devDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-ui-fips-devDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-ui-fips-devDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-ui-fipsDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-ui-fipsDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-uiDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
kyverno-policy-reporter-uiDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 19 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r7 | None listed |
llama-cpp-0Docker Hardened Images:Alpine:3.23 | 0.7.0-r1 and later, plus listed versions 0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6 Show 11 more versionsShow less0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7 | None listed |
llama-cpp-0Docker Hardened Images:Alpine:3.24 | 0.7.0-r1 and later, plus listed versions 0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6 Show 11 more versionsShow less0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7 | None listed |
llama-cpp-1Docker Hardened Images:Alpine:3.23 | 1.0.0-r0 and later, plus listed versions 1.0.0-r11.1.0-r01.1.0-r1 | None listed |
llama-cpp-1Docker Hardened Images:Alpine:3.24 | 1.0.0-r0 and later, plus listed versions 1.0.0-r11.1.0-r01.1.0-r1 | None listed |
logto-1Docker Hardened Images:Alpine:3.23 | 1.45.0-r0 and later, plus listed versions 1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0 Show 8 more versionsShow less1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r61.46.0-r71.46.0-r8 | None listed |
logto-1Docker Hardened Images:Alpine:3.24 | 1.45.0-r0 and later, plus listed versions 1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0 Show 8 more versionsShow less1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r61.46.0-r71.46.0-r8 | None listed |
npm-12Docker Hardened Images:Alpine:3.23 | 12.0.2-r0 and later, plus listed versions 12.1.0-r012.2.0-r012.2.1-r012.2.1-r112.2.2-r0 Show 5 more versionsShow less12.2.2-r112.2.2-r212.2.3-r012.2.3-r112.2.3-r2 | None listed |
npm-12Docker Hardened Images:Alpine:3.24 | 12.0.2-r0 and later, plus listed versions 12.1.0-r012.2.0-r012.2.1-r012.2.1-r112.2.2-r0 Show 5 more versionsShow less12.2.2-r112.2.2-r212.2.3-r012.2.3-r112.2.3-r2 | None listed |
npmDocker Hardened Images:Alpine:3.23 | 11.8.0-r0 and later, plus listed versions 11.10.0-r011.10.1-r011.11.0-r011.11.1-r011.12.0-r0 Show 25 more versionsShow less11.12.1-r111.13.0-r011.14.0-r011.14.1-r011.15.0-r011.16.0-r011.17.0-r011.18.0-r011.19.0-r011.19.0-r111.19.0-r211.19.1-r011.20.0-r011.21.0-r011.21.1-r011.21.1-r111.21.2-r011.21.2-r111.21.2-r211.21.3-r011.21.3-r111.21.3-r211.9.0-r012.0.2-r012.1.0-r0 | None listed |
npmDocker Hardened Images:Alpine:3.24 | 11.16.0-r1 and later, plus listed versions 11.17.0-r011.18.0-r011.18.0-r111.19.0-r011.19.0-r1 Show 13 more versionsShow less11.19.1-r011.20.0-r011.21.0-r011.21.1-r011.21.1-r111.21.2-r011.21.2-r111.21.2-r211.21.3-r011.21.3-r111.21.3-r212.0.2-r012.1.0-r0 | None listed |
renovate-44Docker Hardened Images:Alpine:3.23 | 44.190.0-r0 and later, plus listed versions 44.190.0-r144.206.0-r044.218.0-r044.224.1-r044.224.2-r0 Show 37 more versionsShow less44.225.1-r044.225.2-r044.226.2-r044.227.2-r044.227.4-r044.230.1-r044.235.1-r044.235.4-r044.236.4-r044.237.3-r044.239.0-r044.239.1-r044.241.0-r044.242.0-r044.247.1-r044.247.2-r044.249.3-r044.251.0-r044.252.2-r044.252.8-r044.253.4-r044.255.2-r044.256.1-r044.257.0-r044.257.5-r044.257.6-r044.257.9-r044.259.0-r044.260.1-r044.261.1-r044.262.1-r044.262.2-r044.263.2-r044.263.5-r044.263.5-r144.264.1-r044.264.1-r1 | None listed |
renovate-44Docker Hardened Images:Alpine:3.24 | 44.190.0-r0 and later, plus listed versions 44.190.0-r144.206.0-r044.218.0-r044.224.1-r044.224.2-r0 Show 37 more versionsShow less44.225.1-r044.225.2-r044.226.2-r044.227.2-r044.227.4-r044.230.1-r044.235.1-r044.235.4-r044.236.4-r044.237.3-r044.239.0-r044.239.1-r044.241.0-r044.242.0-r044.247.1-r044.247.2-r044.249.3-r044.251.0-r044.252.2-r044.252.8-r044.253.4-r044.255.2-r044.256.1-r044.257.0-r044.257.5-r044.257.6-r044.257.9-r044.259.0-r044.260.1-r044.261.1-r044.262.1-r044.262.2-r044.263.2-r044.263.5-r044.263.5-r144.264.1-r044.264.1-r1 | None listed |
trigger-dev-4Docker Hardened Images:Alpine:3.23 | 4.8.5-r0 and later | None listed |
trigger-dev-4Docker Hardened Images:Alpine:3.24 | 4.8.5-r0 and later | None listed |
actions-runnerDocker Hardened Images:Debian:13 | 2.336.0-0 and later, plus listed versions 2.336.0-12.337.0-02.337.0-12.338.0-02.338.1-0 Show 6 more versionsShow less2.338.2-02.338.2-12.338.2-22.338.2-32.338.2-42.338.2-5 | None listed |
calico-whisker-3.32Docker Hardened Images:Debian:13 | 3.32.3-0 and later, plus listed versions 3.32.3-13.32.3-23.32.4-03.32.4-13.32.4-23.32.4-33.32.4-43.32.4-5 | None listed |
calico-whisker-3.33Docker Hardened Images:Debian:13 | 3.33.0-0 and later, plus listed versions 3.33.0-13.33.0-23.33.0-33.33.1-03.33.1-13.33.1-23.33.1-33.33.1-4 | None listed |
calico-whisker-fips-3.32Docker Hardened Images:Debian:13 | 3.32.3-0 and later, plus listed versions 3.32.3-13.32.3-23.32.4-03.32.4-13.32.4-23.32.4-33.32.4-43.32.4-5 | None listed |
calico-whisker-fips-3.33Docker Hardened Images:Debian:13 | 3.33.0-0 and later, plus listed versions 3.33.0-13.33.0-23.33.0-33.33.1-03.33.1-13.33.1-23.33.1-33.33.1-4 | None listed |
directus-12Docker Hardened Images:Debian:13 | 12.4.1-0 and later, plus listed versions 12.4.1-112.4.1-212.5.0-012.5.0-112.5.0-2 Show 23 more versionsShow less12.5.1-012.5.1-112.5.1-212.5.1-312.6.0-012.6.0-112.6.0-212.6.0-312.6.0-412.6.0-512.6.0-612.6.1-012.6.1-112.6.1-212.6.1-312.6.1-412.6.1-512.7.0-012.7.0-112.7.0-212.7.0-312.7.0-412.7.0-5 | None listed |
gristDocker Hardened Images:Debian:13 | 1.7.17-0 and later, plus listed versions 1.7.17-11.7.17-21.7.17-31.7.17-41.7.17-5 Show 40 more versionsShow less1.7.17-61.7.19-21.7.19-31.7.19-41.7.19-51.7.19-61.7.20-01.7.20-101.7.20-71.7.20-81.7.20-91.7.21-01.7.21-11.7.21-21.7.21-31.7.21-41.7.21-51.7.21-61.7.21-71.7.21-81.7.21-91.7.22-11.7.22-101.7.22-111.7.22-121.7.22-131.7.22-141.7.22-151.7.22-161.7.22-21.7.22-31.7.22-41.7.22-51.7.22-61.7.22-71.7.22-81.7.22-91.7.23-01.7.23-11.7.23-2 | None listed |
homepage-1Docker Hardened Images:Debian:13 | 1.13.2-0 and later, plus listed versions 1.13.2-1 | None listed |
homepageDocker Hardened Images:Debian:13 | 1.13.2-0 and later, plus listed versions 1.13.2-11.13.2-101.13.2-111.13.2-121.13.2-13 Show 39 more versionsShow less1.13.2-141.13.2-151.13.2-161.13.2-171.13.2-181.13.2-191.13.2-21.13.2-31.13.2-41.13.2-51.13.2-61.13.2-71.13.2-81.13.2-92.0.0-02.0.0-12.1.0-02.1.2-02.1.2-12.2.0-02.3.0-02.4.0-02.4.0-12.5.0-02.5.0-12.6.0-02.6.0-12.6.0-22.7.0-02.7.0-12.7.0-22.7.0-32.7.0-42.7.0-52.7.0-62.8.0-02.8.0-12.8.0-22.8.0-3 | None listed |
kibana-9.4Docker Hardened Images:Debian:13 | 9.4.5-1 and later, plus listed versions 9.4.10-09.4.10-19.4.7-09.4.8-09.4.8-1 Show 17 more versionsShow less9.4.8-119.4.8-129.4.8-139.4.8-149.4.8-29.4.8-39.4.8-49.4.8-59.4.8-69.4.8-79.4.8-89.4.8-99.4.9-09.4.9-19.4.9-29.4.9-39.4.9-4 | None listed |
kibana-9.5Docker Hardened Images:Debian:13 | 9.5.5-0 and later, plus listed versions 9.5.5-19.5.5-109.5.5-119.5.5-129.5.5-2 Show 12 more versionsShow less9.5.5-39.5.5-49.5.5-59.5.5-69.5.5-79.5.5-99.5.6-09.5.6-19.5.6-29.5.6-39.5.7-09.5.7-1 | None listed |
kyverno-policy-reporter-ui-devDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 19 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-7 | None listed |
kyverno-policy-reporter-ui-fips-devDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 19 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-7 | None listed |
kyverno-policy-reporter-ui-fipsDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 19 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-7 | None listed |
kyverno-policy-reporter-uiDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 19 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-7 | None listed |
litellmDocker Hardened Images:Debian:13 | 1.95.0-0 and later, plus listed versions 1.100.0-01.100.1-01.101.0-01.101.0-11.102.0-0 Show 45 more versionsShow less1.103.0-01.103.0-11.103.2-01.103.3-01.104.1-01.104.2-01.104.3-01.105.1-01.106.0-01.106.0-11.106.0-21.106.0-31.106.0-41.106.0-51.106.0-61.106.0-71.106.0-81.106.0-91.108.0-01.108.0-11.108.1-01.108.1-11.108.3-01.108.3-11.108.4-01.108.4-11.108.4-21.109.0-01.109.1-01.109.1-11.110.0-01.110.0-11.110.1-01.110.2-01.110.2-11.110.2-21.110.3-01.110.3-11.111.0-01.111.1-01.112.0-01.112.0-11.112.1-01.95.0-11.96.0-0 | None listed |
llama-cpp-0Docker Hardened Images:Debian:13 | 0.6.0-0 and later, plus listed versions 0.7.0-00.7.0-10.7.0-20.7.0-30.7.0-4 Show 15 more versionsShow less0.7.0-50.7.0-60.7.0-70.8.0-00.8.0-10.9.0-00.9.0-10.9.0-20.9.0-30.9.0-40.9.0-50.9.0-60.9.0-70.9.0-80.9.0-9 | None listed |
llama-cpp-1Docker Hardened Images:Debian:13 | 1.0.0-0 and later, plus listed versions 1.0.0-11.0.0-21.0.0-31.1.0-01.1.0-11.1.0-2 | None listed |
logto-1Docker Hardened Images:Debian:13 | 1.45.0-0 and later, plus listed versions 1.45.0-11.45.0-21.45.0-31.45.0-41.46.0-0 Show 8 more versionsShow less1.46.0-11.46.0-21.46.0-31.46.0-41.46.0-51.46.0-61.46.0-71.46.0-8 | None listed |
npm-12Docker Hardened Images:Debian:13 | 12.0.2-0 and later, plus listed versions 12.1.0-012.2.0-012.2.1-012.2.1-112.2.2-0 Show 5 more versionsShow less12.2.2-112.2.3-012.2.3-112.2.3-212.2.3-3 | None listed |
npmDocker Hardened Images:Debian:13 | 11.16.0-0 and later, plus listed versions 11.17.0-011.17.0-111.18.0-011.19.0-011.19.0-1 Show 15 more versionsShow less11.19.0-211.19.0-311.19.1-011.20.0-011.21.0-011.21.1-011.21.1-111.21.2-011.21.2-111.21.3-011.21.3-111.21.3-211.21.3-312.0.2-012.1.0-0 | None listed |
opensearch-dashboardsDocker Hardened Images:Debian:13 | 3.8.0-0 and later, plus listed versions 3.10.0-03.10.0-13.10.0-23.10.0-33.10.0-4 Show 11 more versionsShow less3.10.0-53.8.0-13.8.0-23.8.0-33.9.0-03.9.0-13.9.0-23.9.0-33.9.0-43.9.0-53.9.0-6 | None listed |
renovate-44Docker Hardened Images:Debian:13 | 44.190.0-0 and later, plus listed versions 44.190.0-144.212.0-044.219.0-044.224.2-044.225.1-0 Show 36 more versionsShow less44.225.2-044.226.2-044.227.2-044.227.4-044.230.1-044.235.1-044.235.4-044.236.4-044.237.3-044.239.0-044.239.1-044.242.0-044.247.1-044.247.2-044.249.3-044.251.0-044.252.2-044.252.8-044.253.4-044.255.2-044.256.1-044.257.0-044.257.5-044.257.6-044.257.9-044.259.0-044.260.1-044.261.1-044.262.1-044.262.2-044.263.2-044.263.5-044.263.5-144.264.1-044.264.1-144.264.1-2 | None listed |
trigger-dev-4Docker Hardened Images:Debian:13 | 4.8.5-0 and later | None listed |
uptime-kuma-1Docker Hardened Images:Debian:13 | 1.23.17-0 and later, plus listed versions 1.23.17-11.23.17-111.23.17-21.23.17-31.23.17-4 Show 5 more versionsShow less1.23.17-51.23.17-61.23.17-71.23.17-81.23.17-9 | None listed |
uptime-kuma-2Docker Hardened Images:Debian:13 | 2.5.0-0 and later, plus listed versions 2.5.0-12.5.0-22.5.10-02.5.11-02.5.11-1 Show 14 more versionsShow less2.5.11-22.5.11-32.5.12-02.5.13-02.5.3-02.5.3-12.5.4-02.5.5-02.5.5-12.5.6-02.5.7-02.5.7-12.5.9-02.5.9-1 | None listed |
node-tarUbuntu:Pro:14.04:LTS | All versions, plus listed versions 0.1.18-10.1.18-1ubuntu0.1~esm1 | None listed |
node-tarUbuntu:Pro:16.04:LTS | All versions, plus listed versions 1.0.3-21.0.3-2ubuntu0.1~esm1 | None listed |
node-tarUbuntu:18.04:LTS | All versions, plus listed versions 2.2.1-1 | None listed |
node-tarUbuntu:Pro:20.04:LTS | All versions, plus listed versions 4.4.10+ds1-24.4.10+ds1-2ubuntu14.4.10+ds1-2ubuntu1+esm1 | None listed |
node-tarUbuntu:22.04:LTS | All versions, plus listed versions 6.1.7+~cs11.3.10-16.1.11+~cs11.3.10-16.1.11+ds1+~cs6.0.6-1 | None listed |
node-tarUbuntu:24.04:LTS | All versions, plus listed versions 6.1.13+~cs7.0.5-16.1.13+~cs7.0.5-3 | None listed |
node-tarUbuntu:26.10 | All versions, plus listed versions 6.2.1+ds1+~cs6.1.13-107.5.22+~4.0.1-1 | None listed |
node-tarUbuntu:26.04:LTS | All versions, plus listed versions 6.2.1+~cs7.0.8-16.2.1+ds1+~cs6.1.13-66.2.1+ds1+~cs6.1.13-76.2.1+ds1+~cs6.1.13-10 | None listed |
The JSON record also has 8 more versions.
Only in multi-CVE advisories 1
Each of these advisories covers several CVEs at once, so it doesn’t establish that this one affects the package.
| Package | Affected | Fixed |
|---|---|---|
tarTuxCare:npm | 1.0.3-tuxcare.0 up to 1.0.3-tuxcare.3, plus listed versions From an advisory covering 5 CVEs 1.0.31.0.3-tuxcare.11.0.3-tuxcare.2 | 1.0.3-tuxcare.3 |
| 7.5.22-tuxcare.0 up to 7.5.22-tuxcare.1, plus listed versions From an advisory covering 24 CVEs 7.5.22 | 7.5.22-tuxcare.1 | |
| 7.5.21-tuxcare.0 up to 7.5.21-tuxcare.1, plus listed versions From an advisory covering 24 CVEs 7.5.21 | 7.5.21-tuxcare.1 |
Products 1
Exploits
Sources link exploit code, tools that only detect the flaw and other work on it, and most don’t say which a link is.
| Link | Source | Date |
|---|---|---|
| googlesky/CVE-2026-140249 | PoC in GitHub | 2026-12-02 |
Sources
CVE List Score usedCVSS 4.07.2
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
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.
- Record
CVE-2026-140249- CVSS 4.0
- 7.2 High
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 - Weakness
- CWE-22, CWE-59
- Updated
- 2026-12-01
EUVDEUVD-2026-140456CVSS 4.07.2
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
- Record
EUVD-2026-140456- CVSS 4.0
- 7.2 High
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 - Updated
- 2026-12-02
GitHub AdvisoriesGHSA-4pf9-5fpx-xmr6CVSS 4.07.2
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
Summary
Summary With default options, tar.x() in tar 7.5.5 through 7.5.23 (the latest release) creates a symbolic link that points outside the extraction directory, and raises no warning. The archive needs only a directory and two symlinks. This breaks the README's listed protection that "Link and SymbolicLink entries are not allowed to target locations outside of the extraction folder."
This is not the TOCTOU case (no one but tar touches the extraction folder) and not an old version: it reproduces on 7.5.23 and on main (eb92e17), with default options.
Details
x/ Directory x/y -> .. (resolves to cwd: allowed) l -> x/y/../secret.txt (checked as cwd/x/secret.txt; really cwd/../secret.txt)
- [STRIPABSOLUTEPATH] validates the lexically normalized linkpath, x/secret.txt, which is inside cwd.
- [SYMLINK] runs ENSURE_NO_SYMLINK on path.resolve(...) of the linkpath, which also removes y/.. before checking, so it never sees that x/y is a symlink.
- [LINK] then creates the link with the raw linkpath, x/y/../secret.txt. The kernel resolves x/y first (to cwd), then applies .., so l points to cwd/../secret.txt.
Repeating the x/y/ step reaches any absolute path: x/y/ × 8 followed by ../ × 16 and etc/hostname fits in the 100-byte ustar linkpath field and points at /etc/hostname. Entry order does not matter; the link can come before or after x/y.
This is the same chain as the proof of concept in GHSA-83g3-92jg-28cx (CVE-2026-26960). That fix blocked the hardlink created through the chain; the symlink itself is still created. 7.5.3 and 7.5.4 reject it (they refused any .. in a linkpath); the regression came with the relaxation in #450 ("Allow unpacking symlinks that don't escape cwd") in 7.5.5. Versions ≤ 7.5.2 also create the link but are already covered by GHSA-8qq5-rm4j-mr97.
Suggested fix
Create the symlink with the same normalized target that [STRIPABSOLUTEPATH] validated, instead of the raw linkpath. Patch against main (eb92e17):
--- a/src/unpack.ts +++ b/src/unpack.ts @@ -651,7 +651,23 @@ export class Unpack extends Parser { entry, this.cwd, parts,
() => this[LINK](entry, String(entry.linkpath), 'symlink', done),
// Create the symlink with the same lexically-normalized target that// [STRIPABSOLUTEPATH] validated. Writing the raw linkpath would let a// `..` segment follow a component that is (or later becomes) a symlink// in the extraction dir, e.g. `x/y -> ..` plus `l -> x/y/../secret`,// which normalizes to the in-bounds `x/secret` but really resolves// outside cwd.() =>this[LINK](entry,this.preservePaths ?String(entry.linkpath): path.posix.normalize(normalizeWindowsPath(String(entry.linkpath)),),'symlink',done,), er => { this[ONERROR](er, entry) done()
It was created as x/secret.txt and stays inside cwd. There is also a regression test, test/symlink-chain-escape.ts, covering both entry orders with async and sync extraction: it fails on main and passes with the patch. The full suite passes with the patch (tap: 21,254 of 21,254). An adjusted approach for example, could be resolving each linkpath component against the extraction tree instead of normalizing lexically, preserving link targets byte-for-byte but at more cost.
Proof of concept
Save as poc.cjs next to a node_modules/tar install and run node poc.cjs ./node_modules/tar ./work. It builds the archive with tar's own Header, extracts it with default options (async and sync), and then does what an application normally does next: writes to a file by its name in the archive.
const fs = require('fs') const path = require('path') const tar = require(path.resolve(process.argv[2])) const work = path.resolve(process.argv[3]) fs.rmSync(work, { recursive: true, force: true }) const cwd…
- Record
GHSA-4pf9-5fpx-xmr6- CVSS 4.0
- 7.2 High
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 - Weakness
- CWE-22, CWE-59
- Updated
- 2026-12-02
NVDCVSS 4.07.2
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.
- Record
CVE-2026-140249- CVSS 4.0
- 7.2 High
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 - Weakness
- CWE-22, CWE-59
- Updated
- 2026-12-01
OSVCVSS 4.07.2
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
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.
- Record
CVE-2026-140249- CVSS 4.0
- 7.2 High
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 - Weakness
- CWE-22, CWE-59
- Updated
- 2026-12-02
OSVDEBIAN-CVE-2026-140249CVSS 4.07.2
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.
- Record
DEBIAN-CVE-2026-140249- CVSS 4.0
- 7.2 High
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 - Updated
- 2026-12-02
Show 6 more recordsShow less
OSVDHI-t3r6-7llo-kbu6-bptmCVSS 4.07.2
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink target escapes the…
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.
- Record
DHI-t3r6-7llo-kbu6-bptm- CVSS 4.0
- 7.2 High
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 - Updated
- 2026-12-04
OSVGHSA-4pf9-5fpx-xmr6CVSS 4.07.2
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
Summary
Summary With default options, tar.x() in tar 7.5.5 through 7.5.23 (the latest release) creates a symbolic link that points outside the extraction directory, and raises no warning. The archive needs only a directory and two symlinks. This breaks the README's listed protection that "Link and SymbolicLink entries are not allowed to target locations outside of the extraction folder."
This is not the TOCTOU case (no one but tar touches the extraction folder) and not an old version: it reproduces on 7.5.23 and on main (eb92e17), with default options.
Details
x/ Directory x/y -> .. (resolves to cwd: allowed) l -> x/y/../secret.txt (checked as cwd/x/secret.txt; really cwd/../secret.txt)
- [STRIPABSOLUTEPATH] validates the lexically normalized linkpath, x/secret.txt, which is inside cwd.
- [SYMLINK] runs ENSURE_NO_SYMLINK on path.resolve(...) of the linkpath, which also removes y/.. before checking, so it never sees that x/y is a symlink.
- [LINK] then creates the link with the raw linkpath, x/y/../secret.txt. The kernel resolves x/y first (to cwd), then applies .., so l points to cwd/../secret.txt.
Repeating the x/y/ step reaches any absolute path: x/y/ × 8 followed by ../ × 16 and etc/hostname fits in the 100-byte ustar linkpath field and points at /etc/hostname. Entry order does not matter; the link can come before or after x/y.
This is the same chain as the proof of concept in GHSA-83g3-92jg-28cx (CVE-2026-26960). That fix blocked the hardlink created through the chain; the symlink itself is still created. 7.5.3 and 7.5.4 reject it (they refused any .. in a linkpath); the regression came with the relaxation in #450 ("Allow unpacking symlinks that don't escape cwd") in 7.5.5. Versions ≤ 7.5.2 also create the link but are already covered by GHSA-8qq5-rm4j-mr97.
Suggested fix
Create the symlink with the same normalized target that [STRIPABSOLUTEPATH] validated, instead of the raw linkpath. Patch against main (eb92e17):
--- a/src/unpack.ts +++ b/src/unpack.ts @@ -651,7 +651,23 @@ export class Unpack extends Parser { entry, this.cwd, parts,
() => this[LINK](entry, String(entry.linkpath), 'symlink', done),
// Create the symlink with the same lexically-normalized target that// [STRIPABSOLUTEPATH] validated. Writing the raw linkpath would let a// `..` segment follow a component that is (or later becomes) a symlink// in the extraction dir, e.g. `x/y -> ..` plus `l -> x/y/../secret`,// which normalizes to the in-bounds `x/secret` but really resolves// outside cwd.() =>this[LINK](entry,this.preservePaths ?String(entry.linkpath): path.posix.normalize(normalizeWindowsPath(String(entry.linkpath)),),'symlink',done,), er => { this[ONERROR](er, entry) done()
It was created as x/secret.txt and stays inside cwd. There is also a regression test, test/symlink-chain-escape.ts, covering both entry orders with async and sync extraction: it fails on main and passes with the patch. The full suite passes with the patch (tap: 21,254 of 21,254). An adjusted approach for example, could be resolving each linkpath component against the extraction tree instead of normalizing lexically, preserving link targets byte-for-byte but at more cost.
Proof of concept
Save as poc.cjs next to a node_modules/tar install and run node poc.cjs ./node_modules/tar ./work. It builds the archive with tar's own Header, extracts it with default options (async and sync), and then does what an application normally does next: writes to a file by its name in the archive.
const fs = require('fs') const path = require('path') const tar = require(path.resolve(process.argv[2])) const work = path.resolve(process.argv[3]) fs.rmSync(work, { recursive: true, force: true }) const cwd…
- Record
GHSA-4pf9-5fpx-xmr6- CVSS 4.0
- 7.2 High
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 - Weakness
- CWE-22, CWE-59
- Updated
- 2026-12-02
OSVCLSA-2026-1776818213No score
TuxCare security update for tar (5 CVEs)
TuxCare rebuilt tar to address 5 CVEs. Fixed in 1.0.3-tuxcare.3.
- Record
CLSA-2026-1776818213- Updated
- 2026-12-04
OSVCLSA-2026-1796209074No score
TuxCare security update for tar (24 CVEs)
TuxCare rebuilt tar to address 24 CVEs. Fixed in 7.5.22-tuxcare.1.
- Record
CLSA-2026-1796209074- Updated
- 2026-12-04
OSVCLSA-2026-1796224850No score
TuxCare security update for tar (24 CVEs)
TuxCare rebuilt tar to address 24 CVEs. Fixed in 7.5.21-tuxcare.1.
- Record
CLSA-2026-1796224850- Updated
- 2026-12-02
OSVUBUNTU-CVE-2026-140249No score
(node-tar is a tar archive manipulation library for Node.js. From 7.5.5 ...)
- Record
UBUNTU-CVE-2026-140249- Updated
- 2026-12-03
The JSON record also has the rest of 2 source descriptions.
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages, other IDs | OSV | |
| Affected packages, other IDs, published date | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Exploit links, key facts | PoC in GitHub | |
| Affected packages | OSV | |
| References | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references, severity | OSV | |
| Published date | EUVD | |
| Affected packages, references | OSV | |
| Affected packages, key facts, references | GitHub Advisories | |
| Other IDs, references | NVD, OSV | |
| Other IDs, published date | EUVD | |
| Key facts, references | CVE List | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/isaacs/node-tar/security/advisories/GHSA-4pf9-5fpx-xmr6
github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d
github.com/isaacs/node-tar/releases/tag/v8.0.0
nvd.nist.gov/vuln/detail/CVE-2026-140249
github.com/advisories/GHSA-4pf9-5fpx-xmr6
github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140249.json
security-tracker.debian.org/tracker/CVE-2026-140249
scout.docker.com/v/DHI-t3r6-7llo-kbu6-bptm