# CVE-2026-140247: node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creates symlinks outside the extraction directory

- 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-gvrf-jx37-rjv5, CGA-jcvp-6q59-36gh, CGA-r3g4-gj7m-c3m6, CGA-7jxw-hf9p-6526, CGA-7p4j-v55q-j8cp, CGA-9gj4-hmqq-fr69, CGA-m7xf-pp3m-p2x7, CGA-rqgr-xjrv-rxhv, CGA-24xv-m3h5-f329, CGA-2hhm-49c3-6p9h, CGA-2jjx-jrfw-9j3c, CGA-3r4g-g7x2-9q6h, CGA-4r9q-3xmr-4545, CGA-4vg9-gqxp-8mw9, CGA-5cp3-78f7-rrhc, CGA-66pj-7f3c-qc3c, CGA-6x24-6g43-jgfx, CGA-72mp-h58x-gm48, CGA-72q9-qqv5-x82c, CGA-75rx-h74m-43wf, CGA-7829-9wfh-xj5j, CGA-7c8v-xc33-hgv4, CGA-7cvj-45fm-q7cf, CGA-88rw-xx5m-8hpf, CGA-8rhx-p38q-mg35, CGA-96q5-hfj6-26mf, CGA-9fw8-4rqx-mph6, CGA-c48h-f468-8rv6, CGA-c4gc-v8wc-hp4j, CGA-cv7m-qjq8-g8xf, CGA-cwv3-ccwf-x23x, CGA-f9c2-5pp3-7x75, CGA-fh4w-346j-3x8h, CGA-g6hc-pwc9-5g87, CGA-gx43-6pvm-899j, CGA-h26m-9rvp-mx2g, CGA-jcf2-v4cw-h56j, CGA-jp9w-24wp-cmg7, CGA-jxg9-qgw3-557w, CGA-m7fv-rjpx-6rfc, CGA-m8x3-pc4f-cgmm, CGA-mjcx-3fj5-6628, CGA-p2x7-mv6h-2mhm, CGA-rg5x-664p-hq6j, CGA-vj2r-7qr5-frrw, CGA-vqp9-948p-34wh, CGA-w2wh-3q55-r6wq, CGA-wmch-9g65-8394, CGA-wxrr-7xhq-gm2m, CGA-xhx6-cm4h-wq2f, CGA-xm7q-hqr4-qmv2, CGA-xmqw-v4q4-h2fv, CGA-2742-2qqp-v2jq, CGA-2w49-f4gm-4qrp, CGA-2x3g-p5f4-pwwg, CGA-2xp3-x2mw-r69q, CGA-2xqw-69vr-ccvc, CGA-328m-9447-5jpc, CGA-33g6-7jxv-6fc4, CGA-36vh-68hr-cgh9, CGA-3c85-cv87-42g4, CGA-3cmx-8x2c-9f5j, CGA-3j8g-mwr5-3gfm, CGA-3jvx-f4qm-wjhf, CGA-46vw-x9h7-m694, CGA-4p4m-96w6-637p, CGA-52xg-gh4m-58wg, CGA-55jh-jqx8-mrf8, CGA-577r-22qc-x9xf, CGA-5hw6-hr97-g66p, CGA-5qpq-6q3x-v565, CGA-5qrf-wj7f-w22g, CGA-5vpq-fp7p-f4x5, CGA-5w44-8gr6-vj5p, CGA-5w83-2rpw-vjqv, CGA-625c-h7j6-9898, CGA-6337-hg5m-7f9m, CGA-636x-pvwp-q6w8, CGA-69f3-m4wr-79vh, CGA-6f2h-pxmr-2xw7, CGA-6qq3-9cr4-qw86, CGA-7fjg-4j48-p3rf, CGA-7hg5-93qp-63hp, CGA-86r8-2mxq-vh8h, CGA-8gh2-6cw9-wg2v, CGA-8rrx-r7g5-rj9g, CGA-94gr-m38h-x3x6, CGA-98rm-mhfq-xgg7, CGA-9prc-7gcf-wwrw, CGA-9vw4-983r-p48q, CGA-9vxr-vgr9-j83v, CGA-cfwp-hm69-v3jr, CGA-f2c5-grv2-9vpf, CGA-f67c-xxp9-9f22, CGA-f9px-q662-fm4x, CGA-fj3g-wvg4-33mx, CGA-fj4j-mmxm-cfcm, CGA-fjqj-3m5g-xccc, CGA-fp2h-82vh-pj34, CGA-fwv3-r24j-wqmp, CGA-g4r7-wqwg-r8rq, CGA-g4v7-x24f-h7jg, CGA-g9h5-8qcg-8g3x, CGA-gmw2-2r32-2g23, CGA-gw2r-ccph-r36w, CGA-h387-5rw8-5q67, CGA-h5pv-8gh3-gx8j, CGA-h63c-3f97-p8xp, CGA-h9f8-6x7c-x6mr, CGA-hgw7-w764-987r, CGA-hm79-65vr-wgw3, CGA-hp3v-6f34-cxvw, CGA-j73r-6vxc-36jm, CGA-jx7h-34fm-3c36, CGA-m9jq-349x-2h58, CGA-m9wm-62mc-6jr2, CGA-mhq5-8hvw-fp89, CGA-mw45-w63r-rm47, CGA-p3f3-6f5m-7gv3, CGA-ppwr-ff28-2cpx, CGA-pqpm-r5wh-334x, CGA-pqq6-p9r4-9rm5, CGA-prvh-qg9g-cxgj, CGA-q53w-694j-pjjv, CGA-q57g-fg5w-783h, CGA-q57r-w6jf-fgc3, CGA-q63q-w2j4-86hm, CGA-q7g7-mqhc-8973, CGA-qcg7-cx84-ch8c, CGA-qcr4-mrjq-w4h2, CGA-qw8g-5wp3-p392, CGA-r599-24cc-jm7c, CGA-r9hp-c5fh-w269, CGA-rgj4-qh33-ggpx, CGA-v78c-26gc-v5x6, CGA-v8p9-9p39-2r8q, CGA-v9r4-c49x-4w4r, CGA-vhfw-fgjw-2894, CGA-vqr2-9w2w-6r26, CGA-w54c-9x6p-j3cw, CGA-w779-f3f2-8739, CGA-wf52-5635-5v52, CGA-wjrm-xfq7-qp3j, CGA-x9xh-4f3g-vr6p, DEBIAN-CVE-2026-140247, CGA-pvjw-qrf6-fvw4, CGA-278j-3rjm-5qcc, CGA-2g4g-3g38-c857, CGA-35fp-2vhw-4mmj, CGA-4jpp-65gg-fwp8, CGA-4qqw-82f6-jvjc, CGA-5mj9-qxfx-m7f9, CGA-5r3p-hvh4-g9pp, CGA-5xc2-8w7q-frhg, CGA-6w8m-6pvq-x8ph, CGA-7wjv-q43g-v423, CGA-hvg6-g63c-r4wm, CGA-pxqv-cpv8-qc83, CGA-qw9q-4f43-5f2p, CGA-xxhc-q58p-88rm, CGA-5hq7-qc99-cmwj, CGA-6q6h-hpc2-v7hv, CGA-97xq-wvg2-4v85, UBUNTU-CVE-2026-140247, CGA-hw67-5649-xh7w
- Record: https://cvemate.com/vulnerability/CVE-2026-140247 · JSON: https://cvemate.com/vulnerability/CVE-2026-140247/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a crafted archive can create a SymbolicLink inside the extraction directory whose linkpath contains a previously created symlink component followed by a parent traversal. STRIPABSOLUTEPATH evaluates the target lexically, but the filesystem follows the earlier symlink first, so the planted link target resolves outside the extraction root. A later consumer that follows the link can read or write outside that root. 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 102)

- 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-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-gvrf-jx37-rjv5>
- <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-140247>
- <https://github.com/isaacs/node-tar>
- <https://security-tracker.debian.org/tracker/CVE-2026-140247>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140247.json>
- <https://ubuntu.com/security/CVE-2026-140247>
- <https://www.cve.org/CVERecord?id=CVE-2026-140247>

---

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