# CVE-2026-140250: node-tar: Symlink containment bypass via chained symlinks lets tar.x() create links that resolve outside the extraction directory (regression since 7.5.5)

- 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-02
- Aliases: GHSA-3wwj-8j6r-q339, CGA-j5wm-6wxv-v2rh, CGA-q5jp-8gq6-pmjr, CGA-2hf2-798c-fm8r, CGA-5cmr-2469-f73x, CGA-63j5-68g4-rhm7, CGA-vc38-4prg-r86p, CGA-vrf2-hw5m-7458, CGA-2mpj-gc94-4gp9, CGA-2xmc-774w-gffw, CGA-3c7h-q2fv-f8c5, CGA-3ggq-x38w-6mhv, CGA-3xwf-hhqc-wppf, CGA-465v-25qv-74gw, CGA-486f-5q8j-226m, CGA-4rhf-cvv7-h735, CGA-5q4h-mhmw-7rw6, CGA-5r85-fm89-8776, CGA-5wjg-rfp2-rphf, CGA-6v84-f93w-xqq5, CGA-748j-5g5v-55gf, CGA-77cq-wmh6-jcj6, CGA-7c7w-rfhr-2cm8, CGA-84wx-cf37-qh29, CGA-85qr-vj87-c7pq, CGA-8jj4-75mj-86c2, CGA-cxhr-rhqq-4828, CGA-f46x-8rvm-2329, CGA-fmh8-8p73-54j8, CGA-g3cx-vvj6-rfrr, CGA-g4h6-7wc8-cx73, CGA-h27r-8fcj-5v2g, CGA-hq89-f2pf-2554, CGA-hrg9-c75c-2x2v, CGA-jp4x-7xqc-j3fh, CGA-m3wx-fr3x-pq4m, CGA-mg84-wwgw-56w5, CGA-mq57-63gx-2jq7, CGA-mqp4-gpqx-gcff, CGA-mxjf-fvxw-rj84, CGA-p75g-h54w-mgwr, CGA-r887-vrx7-hq9j, CGA-rf3q-7rw4-jpjp, CGA-rm3w-8f9r-gw37, CGA-rppx-qp5q-rvg4, CGA-vjwp-pgmf-83gv, CGA-whpw-v3gh-v4jj, CGA-wxpc-4jjr-rwgg, CGA-x8m2-3m29-jmrj, CGA-x98w-vm5r-62gr, CGA-xjp9-hhvh-3hm9, CGA-xrp9-g396-pxw4, CGA-258j-8cgx-rw74, CGA-299h-xxmr-5w3c, CGA-2q8v-4gp4-3c9p, CGA-2vfr-j7gp-h6w3, CGA-3489-r46q-5vpg, CGA-38qf-2r7j-f846, CGA-395v-q8m6-89r7, CGA-3cqj-9vq5-482p, CGA-3rpc-hx9v-mhg4, CGA-43mg-43fv-hj5g, CGA-462m-h8pr-mwpx, CGA-476w-gqm6-qp2q, CGA-4cjf-8v78-249g, CGA-4fr4-qp2g-4679, CGA-4q2g-8662-6hqf, CGA-4qxv-qv89-6m55, CGA-5w29-pgr9-x935, CGA-5w4p-gpxp-rqcx, CGA-7672-vmcr-fc99, CGA-7hf8-8wv5-rvvc, CGA-7p6x-pmpf-9mch, CGA-7qvv-8fv4-j32g, CGA-8c4h-rphc-47p9, CGA-8hvv-f567-5jjx, CGA-8mc9-8qvq-rqmp, CGA-8mgm-wj53-pcph, CGA-8mx9-qwvp-rrvj, CGA-9562-235w-pcw4, CGA-9qf3-r5mw-fj5q, CGA-c539-g7pq-2rhg, CGA-chw2-hcg9-gcfx, CGA-cqwg-vgxh-4fcc, CGA-fjqx-9r56-ww24, CGA-fmg3-fgmg-q48p, CGA-g32q-mh34-g4h7, CGA-gfwj-3hqm-4g3p, CGA-gfxm-6g8q-gh78, CGA-gg6h-gpv7-4hhh, CGA-ghrm-55cq-8gj8, CGA-gj3j-gjh7-94cf, CGA-gppw-r8wp-gr2x, CGA-gwm5-326j-w54g, CGA-h2f6-4mm9-jg47, CGA-h462-j95c-wprx, CGA-h72x-qpf4-vqv5, CGA-j3cr-8hw6-5h8r, CGA-j922-36vj-jw22, CGA-j9fg-3924-f2qj, CGA-jg3c-q2hm-8m86, CGA-jhpq-wgqc-j92c, CGA-jrpc-2565-27w7, CGA-jwhj-259p-37g8, CGA-m24x-3wm5-vqwx, CGA-m85q-6284-xmwr, CGA-mmxw-26r8-w2g9, CGA-mwvf-q78c-c4hc, CGA-p8qh-p39h-8ppm, CGA-q4jh-c4qw-g33c, CGA-qj9p-q735-mx8g, CGA-qmgp-2hpm-4697, CGA-qpfm-77m2-9926, CGA-qxpp-fpx9-qh4m, CGA-r334-pf3p-r5vr, CGA-r9xq-5893-g57m, CGA-rp7w-w7wx-p9x9, CGA-rr4f-vj6p-pq2g, CGA-rv3x-6gvf-664g, CGA-v3mc-65j2-9494, CGA-vjg4-vhg6-66x8, CGA-vq6h-2jq5-h7cp, CGA-w4j5-7wvg-c428, CGA-w93p-q6wj-2pp5, CGA-w9gh-235h-6vc3, CGA-wcgg-r2jp-mwx6, CGA-wff4-633p-rf6v, CGA-wg9q-4jv2-mhv3, CGA-wmp6-7h96-x4qq, CGA-x262-g4f4-6ww6, CGA-x7vm-xv3w-rx6p, CGA-xc24-wh44-p3p7, CGA-xf7v-chph-crp7, CGA-xf82-m2xg-f4p4, CGA-xpmq-rvwq-hcpq, CGA-xppg-ch47-vmfm, CGA-xqgh-65g6-xhjp, DEBIAN-CVE-2026-140250, CGA-2mf9-2rvp-8rrc, CGA-35g3-3xq5-4p52, CGA-3882-86hf-qfwp, CGA-3xq8-r6xp-6x35, CGA-4f78-wh4q-mvhf, CGA-gwfg-fmqq-xgfm, CGA-mwj8-7v63-5q7q, CGA-57wr-cqvm-rc4j, CGA-ch77-fm99-pc5f, CGA-9qfq-wcch-9mpm, UBUNTU-CVE-2026-140250
- Record: https://cvemate.com/vulnerability/CVE-2026-140250 · JSON: https://cvemate.com/vulnerability/CVE-2026-140250/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, tar.x incorrectly validates symbolic link targets when an archive contains chained symbolic links. An attacker who can supply a crafted archive can cause extraction to create a symbolic link that resolves outside the extraction directory. If the application subsequently follows the link, it may disclose or modify files outside that directory with the application's privileges. 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.2%, 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 96)

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard browsertime (Chainguard): All versions (No fix recorded) \| \< 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)
- 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 haraka (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-3wwj-8j6r-q339>
- <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-140250>
- <https://github.com/isaacs/node-tar>
- <https://security-tracker.debian.org/tracker/CVE-2026-140250>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140250.json>
- <https://ubuntu.com/security/CVE-2026-140250>
- <https://www.cve.org/CVERecord?id=CVE-2026-140250>

---

Data as of 2026-12-05T08:12:50.771Z. 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
