# CVE-2026-140249: node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-01
- Aliases: GHSA-4pf9-5fpx-xmr6, CGA-652f-4mqh-jwh7, CGA-hwhw-px9q-mmqv, CGA-2274-cwq6-3g2r, CGA-4jj5-m8j6-6vfw, CGA-4jpm-22r8-4whh, CGA-cmhq-xcmx-65q6, CGA-fr4q-g749-rm2p, CGA-27cj-wqr2-8vwm, CGA-2fx6-mjvj-569h, CGA-2x78-v9g9-972r, CGA-3v64-v5fg-jr42, CGA-5cxx-8wm7-fwhf, CGA-5f4g-ppqw-3mj6, CGA-5wg2-q8v5-w8ff, CGA-67vv-cjfv-6pfr, CGA-6j7v-9542-qf6f, CGA-6x6h-wffj-gjj6, CGA-763r-m37r-32p3, CGA-79cx-74j6-jrm5, CGA-8389-qm7j-2pqc, CGA-88jr-3xrh-hx4p, CGA-8rcv-56rv-r3pq, CGA-98rg-vvph-8hgh, CGA-9ww3-5hgg-q2f8, CGA-fg3w-m38f-2h9g, CGA-fpq9-9r64-w6mv, CGA-g87v-v5v6-6hjg, CGA-gx4q-4h24-qhxg, CGA-jj3p-phr7-qp4m, CGA-jx78-58wj-gx8q, CGA-m49g-f6j6-955g, CGA-mgfc-j9w5-whr3, CGA-mh3h-c926-8rxh, CGA-mp4j-5m76-vw29, CGA-mqfp-cqm3-gfh8, CGA-p49m-p7rf-79xh, CGA-p934-rg7c-ch6h, CGA-p9jm-8p7f-rhg2, CGA-ph3h-phjj-984q, CGA-pprq-wp66-38m2, CGA-q4x3-v23g-v2rf, CGA-q58c-99wh-r724, CGA-q9j7-4jcf-vrpr, CGA-qc8f-j9hq-33pg, CGA-r7f9-w92r-m52r, CGA-v8x9-j7jj-4mhc, CGA-v92x-348j-jfcj, CGA-vhwp-gfcq-3g3j, CGA-x59f-rcpj-27rv, CGA-x7wf-f42r-4g2v, CGA-xhp6-2fx3-jc8m, CGA-26fm-4rf7-jcw9, CGA-2fm3-hhq3-r5c3, CGA-2mp7-gr77-qgwc, CGA-2w4m-26jr-4rf9, CGA-3632-8fv9-xggr, CGA-36vm-h24p-v5p3, CGA-3f82-592h-rppw, CGA-3jcr-28gv-7w9p, CGA-3wvm-xvpg-v59x, CGA-43cc-8qfc-328q, CGA-4454-hpxx-334m, CGA-4jrr-rh9r-hr87, CGA-4xxj-2qc8-vgrx, CGA-52h5-g7c5-9g4f, CGA-52r3-cwr5-7gmh, CGA-589j-gqqw-4vg3, CGA-5v86-8pm7-5f89, CGA-66cg-9w25-9f9v, CGA-68r7-qc7w-pp2p, CGA-6f8g-j775-v2xr, CGA-6fjw-f8vf-qhg4, CGA-6h67-hh73-524p, CGA-6px9-89wx-4888, CGA-6r68-4vh5-29wx, CGA-6rmg-3c8r-42pw, CGA-7782-68cj-fx9f, CGA-8gg9-mq5x-gvpv, CGA-8gvq-5cgq-q627, CGA-8j3g-g4wr-xvm8, CGA-8w9g-p9j8-cw3r, CGA-8wj3-jv73-mpfw, CGA-922x-4vqm-5f3f, CGA-9g44-gmhw-c9qv, CGA-9mhq-6mrr-69p2, CGA-cm78-5974-qqc8, CGA-cqf4-99pm-c5ff, CGA-cwrx-cqf9-5chx, CGA-f393-h8w9-2657, CGA-f4fx-5m86-5c5f, CGA-f55m-xvhp-p4rr, CGA-ffq5-6gqc-722q, CGA-fgcc-23q9-w4r9, CGA-fx9q-h3f4-xj9f, CGA-g35c-2vpj-4f78, CGA-g5ff-p77p-3w5j, CGA-g5r8-32hc-94fq, CGA-g6qx-rjpq-5cpj, CGA-g8r6-64jf-9v7v, CGA-gppv-2cwf-3433, CGA-gv3m-96p4-qjjj, CGA-gvxc-254m-x8xg, CGA-h95f-rcvq-c4xv, CGA-h9qv-q32g-3p8x, CGA-j4fj-mf48-4q68, CGA-j87m-qh9c-3xwm, CGA-j98w-c8r5-fcg6, CGA-jjg6-q9f2-pp9p, CGA-jvfh-p4w8-g7mf, CGA-m3xj-jj32-fg5p, CGA-mr2j-698p-xw3r, CGA-mvm5-x222-qrv2, CGA-p3j6-p4qc-7fh4, CGA-p3mq-897w-c872, CGA-pc74-h9jp-c7m7, CGA-pvv4-xchx-w7pv, CGA-px29-q474-c5m6, CGA-q2j4-66pw-gpr5, CGA-q5m2-34p6-43v6, CGA-qp9c-r92h-g2q8, CGA-r5g2-cf9x-gcvj, CGA-r6vr-8gxv-fx7x, CGA-r79p-fp4q-jw54, CGA-rhr6-f99c-3462, CGA-rmxf-pppw-455r, CGA-rw87-grf4-hx8w, CGA-rwf6-fwfg-fj68, CGA-vfcx-w37x-grf4, CGA-w3gm-wg59-x6p5, CGA-wgf5-245g-p4q8, CGA-wr96-r46q-jqgv, CGA-x4r7-6qv8-9vwc, CGA-xc9m-qcrg-ww4f, CGA-xgjc-wfwv-7p5v, CGA-xj5h-p55c-5c95, CGA-xjh3-gq64-g362, DEBIAN-CVE-2026-140249, CGA-2jjm-f5fv-j4vh, CGA-9xg8-mr44-w4x8, CGA-gvqg-mq5w-c629, CGA-2q48-hgvg-4p45, CGA-4f85-rhh8-rf48, CGA-gx3g-xf2r-w5cc, CGA-jxg2-gqx5-xchg, CGA-8q3q-v557-6mqj, CGA-cfhj-w895-j44q, CGA-pp59-7fmq-3836, UBUNTU-CVE-2026-140249, CGA-vj2p-q2p2-86mm
- Record: https://cvemate.com/vulnerability/CVE-2026-140249 · JSON: https://cvemate.com/vulnerability/CVE-2026-140249/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v4.0, CVE.org) 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
- EPSS: 0.942%, percentile 62.201%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 97)

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard browsertime (Chainguard): \< 29.5.1-r1
- chainguard cdxgen-slim (Chainguard): All versions (No fix recorded)
- chainguard code-server (Chainguard): All versions (No fix recorded)
- chainguard cubejs (Chainguard): All versions (No fix recorded)
- chainguard cypress (Chainguard): All versions (No fix recorded)
- chainguard eco-jess (Chainguard): All versions (No fix recorded) \| \< 2026.12.04.47258835307001-r0
- chainguard gemini-cli (Chainguard): All versions (No fix recorded) \| \< 0.72.0-r1
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded) \| \< 19.4.11-r5
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded) \| \< 19.5.9-r5
- chainguard gitlab-rails-ce-19.6 (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.1-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.2-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.3-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.4-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.5-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.6-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard haraka (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-4pf9-5fpx-xmr6>
- <https://github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d>
- <https://github.com/isaacs/node-tar/releases/tag/v8.0.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140249>
- <https://github.com/isaacs/node-tar>
- <https://security-tracker.debian.org/tracker/CVE-2026-140249>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140249.json>
- <https://ubuntu.com/security/CVE-2026-140249>
- <https://www.cve.org/CVERecord?id=CVE-2026-140249>

---

Data as of 2026-12-05T08:10:54.878Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
