# CVE-2026-140246: node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential

- 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-hqgx-p3r3-2cfg, CGA-3x3x-fm9p-7rf3, CGA-876p-346p-3mp2, CGA-45xp-4q6x-r345, CGA-6mmp-p445-f928, CGA-fp69-h7h5-8c8g, CGA-rf23-fwhv-g9wj, CGA-x2r9-qp97-j829, CGA-28rp-v677-vjcg, CGA-2j2q-34jg-244g, CGA-2vhq-m4g8-vcrm, CGA-2x6p-v9xx-c536, CGA-2xpr-4fhv-x5v4, CGA-3m6p-pg7w-whhq, CGA-3wvq-qhg5-5q3w, CGA-4qj3-47jq-8cvc, CGA-4r87-36mr-5vr9, CGA-5gww-wm2r-q4fh, CGA-6285-j35v-c5cf, CGA-64hq-fccj-7gfr, CGA-7hhw-fp84-4r9j, CGA-7r2c-3w95-p5v4, CGA-7xpv-6r4j-fhjf, CGA-883j-qx48-9q85, CGA-8jg3-7j7r-fc7j, CGA-9536-6c9w-4647, CGA-c4ch-8c7g-46xj, CGA-ccpj-jh5p-8347, CGA-cf7p-5675-52cc, CGA-cg4g-q8f3-7fjw, CGA-cj5w-24p4-4r45, CGA-f5q7-j6w2-wq86, CGA-fj9r-wx2j-977p, CGA-frc3-2c67-9797, CGA-frw9-x7x9-crqg, CGA-h39m-mx6c-f3vx, CGA-h962-c2p8-crq4, CGA-hm2x-w778-9862, CGA-j557-r538-2m72, CGA-j954-vc7j-jrq7, CGA-jx6h-gm4p-qrg5, CGA-m48w-c2wm-5wwj, CGA-mh5j-xchf-j52c, CGA-pgg4-g6xj-5qx9, CGA-qrwp-fqv2-w7hh, CGA-r7p8-2mc2-xrpf, CGA-rgh3-wg7j-mgfr, CGA-vq7q-gwf4-mrrx, CGA-vxx2-qm4j-8fg9, CGA-w39m-w2xc-c332, CGA-wwpv-3vhr-6gv8, CGA-xgx2-h5wj-56pp, CGA-xmvw-h455-cc77, CGA-xvjr-87g7-7whm, CGA-26r9-pp3m-h46w, CGA-2mpx-xfq5-xhrq, CGA-2mv7-w664-3jvf, CGA-38q2-r33p-3c37, CGA-3cxx-7hmx-qh63, CGA-3mp6-qwgq-82h2, CGA-3mq4-q6j7-r3wc, CGA-4v29-7rqw-p9jv, CGA-5677-5g2g-g3wp, CGA-5829-648g-j8v7, CGA-5j2c-jf6m-w9h2, CGA-5jgh-qcv5-p983, CGA-5vw7-2896-rhgv, CGA-5x6x-hgf3-5mv8, CGA-676g-h93j-p7gf, CGA-68w2-wm8p-h999, CGA-6f2c-cvj6-hh8h, CGA-6mhg-8gpg-hq4f, CGA-6p44-gg53-mghw, CGA-6wmq-3vqw-x2vm, CGA-78fx-7gqm-p8m8, CGA-7jr8-g37m-hrq2, CGA-7q5x-66h9-mq77, CGA-8264-cwpj-5wvq, CGA-8q7x-5w7j-3qv5, CGA-8rc8-33mw-xjw9, CGA-95j8-4mrm-g2gr, CGA-98rh-c3f7-3mxp, CGA-c464-gvgg-xvhv, CGA-c5qf-hvrf-h5fm, CGA-c9gx-2758-m4mf, CGA-cgjm-p79c-c652, CGA-chhf-f7m9-vm9f, CGA-f4m8-ph3f-4947, CGA-f4rh-9277-gfh9, CGA-fcm4-qfj7-8wqg, CGA-fgxh-7j8j-m25m, CGA-fwrw-mh4x-6ggq, CGA-g6mw-9h87-wwg2, CGA-ggf6-jg62-wr43, CGA-gghw-3ww5-gc2g, CGA-gw34-jvfx-wp75, CGA-h26q-2w23-xfm2, CGA-hfxr-5p5v-9jgq, CGA-hq7g-5ghc-f477, CGA-j6h6-m7ww-q2jf, CGA-j8r2-297r-ccq2, CGA-j94q-xxw7-f879, CGA-jc23-r25j-mg33, CGA-jf8w-gw8w-g37m, CGA-jmfp-45rp-vqgr, CGA-jrgg-92qv-pcg7, CGA-jx34-m5m7-9g4m, CGA-m6fj-gf24-vw97, CGA-m8g9-fchq-f92f, CGA-m924-p6q8-rr76, CGA-mm3j-p8w9-m527, CGA-p28c-mrrx-cjc2, CGA-p4qj-wx76-5qc6, CGA-p6r4-f235-gmvp, CGA-p82r-c489-88xc, CGA-pcfv-5873-vcg8, CGA-pgh3-j9rm-r7rf, CGA-phvq-r823-53w5, CGA-pp97-mhvv-628w, CGA-ppq7-h278-82cg, CGA-q73v-9vh2-mggr, CGA-qc7w-8hxw-xqh9, CGA-qf7r-6x5r-m438, CGA-qqwv-r2ph-xrvf, CGA-qrg4-4525-238r, CGA-rc6m-p7j6-437f, CGA-rgc5-m75x-9gh8, CGA-rppm-crvj-cpqq, CGA-rpr2-29j6-q2c6, CGA-rwx2-98x9-rp5h, CGA-v2fp-rp5f-q6f2, CGA-vg8h-5fmj-gg8f, CGA-vqr7-4rgr-2mj5, CGA-vxqx-rhcw-xm22, CGA-w2gx-wg9v-3qp8, CGA-w2hp-jj48-fp6j, CGA-w367-74gq-8gh5, CGA-w8c2-p9x9-qw8v, CGA-wgmc-25ch-3h45, CGA-wmcm-6pxr-v5rp, CGA-wmm5-4j2v-5crw, CGA-wmxv-q6rq-pfw3, CGA-x8h7-m24w-442g, CGA-xfv4-9hfx-7cg6, CGA-xp54-v5m8-mhh8, CGA-xx73-46v6-8hc9, DEBIAN-CVE-2026-140246, CGA-24gg-2p9h-pxjm, CGA-26g2-q7vx-9g3w, CGA-2mw7-9vcg-3qh2, CGA-2pj9-pwvr-wqwr, CGA-3p84-ppcc-rw35, CGA-8x9c-v482-vp3q, CGA-vxrq-jm57-cw59, CGA-xxxx-fwj5-x3w5, CGA-mv55-rm67-rqrr, CGA-36w5-7qcm-pf3w, CGA-8m73-wchf-wh77, CGA-hjqp-4226-3rmx, CGA-jq9x-qjwg-8gcx, UBUNTU-CVE-2026-140246
- Record: https://cvemate.com/vulnerability/CVE-2026-140246 · JSON: https://cvemate.com/vulnerability/CVE-2026-140246/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, where a backslash is an ordinary filename character. A crafted archive can therefore plant a link inside the extraction directory that resolves to a host path outside it. A later consumer can read through the link, but node-tar does not itself establish an arbitrary-write impact. 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 100)

- 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-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- 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 gitlab-rails-ce-fips-18.8 (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)

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-hqgx-p3r3-2cfg>
- <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-140246>
- <https://github.com/isaacs/node-tar>
- <https://security-tracker.debian.org/tracker/CVE-2026-140246>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140246.json>
- <https://ubuntu.com/security/CVE-2026-140246>
- <https://www.cve.org/CVERecord?id=CVE-2026-140246>

---

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