# CVE-2026-31802: node-tar Symlink Path Traversal via Drive-Relative Linkpath

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-03-09 · Modified: 2026-03-10
- Aliases: UBUNTU-CVE-2026-31802, DEBIAN-CVE-2026-31802, CGA-2pw6-r296-wpg9, CGA-2qc9-9gjw-hjgc, CGA-33qq-c25w-94h2, CGA-35xq-qvph-5c5j, CGA-38c2-v3v3-wgr9, CGA-3f95-3xvx-g66j, CGA-3hmw-xwm3-hj9w, CGA-3pf2-xqv4-cjcr, CGA-3w39-cqxc-7484, CGA-3wr3-7ffx-vp2h, CGA-45g8-cvpc-fh8x, CGA-4jrg-xw45-rwj3, CGA-4q82-qjgw-ccpm, CGA-4r2j-7qqr-fph9, CGA-56pp-vm55-vmm8, CGA-5r85-xfwf-xqjv, CGA-62rp-qrvv-gh43, CGA-722r-hw4r-8chp, CGA-7285-f88m-c666, CGA-849h-5v72-r69v, CGA-84mc-mp6h-qp4p, CGA-8cg6-wwrp-q936, CGA-8h7p-g64x-qq5j, CGA-8xwj-2qq4-4j7r, CGA-9mrq-x65c-5q7q, CGA-c58r-49jg-mjqv, CGA-cprc-p5v4-p6wc, CGA-f37r-44p3-338r, CGA-f3g5-xpr9-26hx, CGA-f637-6c63-h4jm, CGA-f7xf-7m36-cp65, CGA-g6gq-8mhv-vmxq, CGA-ghfm-2h4x-9c93, CGA-hfx6-9j74-6xm9, CGA-hgr8-w54j-5mr8, CGA-j9fh-h4g3-cmj4, CGA-jg8r-mf65-jqg2, CGA-m639-p8rv-w8pg, CGA-mc2g-q497-jc9x, CGA-mcw2-rcjf-h4rh, CGA-pv34-xwm6-r3gp, CGA-q323-7g78-g2qp, CGA-q6qv-5v5v-54gx, CGA-qg4j-747h-gpvj, CGA-qhf3-fxrh-f5qm, CGA-qwp4-fwgx-v3vc, CGA-qwvw-323m-4jj8, CGA-r899-j5fj-7mv8, CGA-rr4w-8r9q-34gm, CGA-v2pq-gfj7-j9pf, CGA-vg2h-6rqq-9gc6, CGA-w8hq-63hg-rhmv, CGA-w95c-w69w-cr2x, CGA-wm7q-3whr-r5gr, CGA-xh7m-63r3-w6gm, CGA-xvjq-q3x7-73w6, GHSA-9ppj-qmqm-q256, CGA-2499-8f42-fj5r, CGA-263g-vpg5-hvj5, CGA-2f8h-q765-6mqq, CGA-2fr7-5rrr-gqw8, CGA-2gc4-9g7f-vwvr, CGA-2h4j-8vhq-85gg, CGA-2m34-898g-fx75, CGA-2w54-v72x-rwj6, CGA-35jv-g6c8-pmq4, CGA-37v9-4hpc-qwv8, CGA-3crr-vf9m-wqp3, CGA-3gj7-vxhv-mf68, CGA-3h95-jmwf-69fx, CGA-3jcc-6cwp-ccpc, CGA-3p82-33wf-rj6j, CGA-3pfm-pp8h-6vjh, CGA-423w-xgvg-5hmw, CGA-42f8-2jq9-rxw3, CGA-4456-j9mg-v42x, CGA-4c78-cmmq-54hj, CGA-4gvr-qq52-r99f, CGA-4r76-jp6g-rvcp, CGA-5283-g38q-x8vp, CGA-52x8-222p-hvh3, CGA-543w-3p7c-hg5q, CGA-5v28-4r5f-977j, CGA-5xff-v3pv-2p3q, CGA-62wq-j6w5-x77j, CGA-67jf-9cvp-c3vg, CGA-6f7x-gmgr-xv9h, CGA-6hhx-835q-jrvm, CGA-6hrx-9pgx-fxr8, CGA-6m26-cf48-v48q, CGA-6pgv-jxmg-8m39, CGA-6q97-7r73-pjxj, CGA-7328-fqpf-583q, CGA-74j2-xvrx-4gpr, CGA-7696-qw7m-vf84, CGA-78fv-64mc-77hx, CGA-79gp-qqr6-j6h4, CGA-7fmf-jg29-5f67, CGA-7pc3-mj7v-7rcr, CGA-7rcw-frr6-w3pc, CGA-7wq5-j24q-p69v, CGA-86mc-5784-vq2x, CGA-88jq-g33f-3rw8, CGA-89r6-22rh-wcqq, CGA-8f8p-7fh6-fhvp, CGA-8h6h-4hfc-3jxx, CGA-8q2m-wjv4-fqq2, CGA-8rmf-565w-v74g, CGA-8xxr-87q8-2wh3, CGA-9226-x7fq-8f3v, CGA-926x-prc2-7x7q, CGA-9479-6q9j-2p85, CGA-94q2-qcw2-wx2w, CGA-958c-wr58-jvw6, CGA-9778-jhj3-c2v2, CGA-97g7-f6ch-p236, CGA-9m29-7p7h-v4jj, CGA-9pv8-gwfr-fr8q, CGA-9v3h-fxw3-wgfv, CGA-9w5h-wv67-q988, CGA-9w6h-3j6m-gp3r, CGA-c3rp-2vpx-hrhf, CGA-c4fr-73vw-2rjg, CGA-c8j8-mv3r-xrxj, CGA-cjg6-hj2p-984j, CGA-cprf-hwrq-3458, CGA-cq39-hv6w-3ch4, CGA-crgw-79c5-57qv, CGA-f993-9rpv-r296, CGA-fhvx-qfqh-qj39, CGA-fmhm-rqw2-3qm7, CGA-fq39-m7qq-jj5v, CGA-fq52-c2g2-6mc5, CGA-fqx5-2gfr-8c3r, CGA-fv43-8m9x-j389, CGA-fvjw-38xv-v7xr, CGA-fxjp-8hfp-px22, CGA-fxrg-v926-q6v9, CGA-g9q7-pjqm-6f96, CGA-gc9x-cpxq-r8wf, CGA-gpx2-2wwg-hfp8, CGA-grx4-vcj8-pvpm, CGA-gvmf-h95f-rw2j, CGA-gx89-4qcg-6xq2, CGA-h3jh-4cxw-jw4x, CGA-h3q5-3mjw-f83g, CGA-h4r3-rqj5-5v9r, CGA-hhjp-4w3j-v5cq, CGA-hhv9-mfrv-hvxw, CGA-j259-3xfx-5fc5, CGA-j25v-6xfq-r9gr, CGA-j397-m7q2-67hw, CGA-j4vr-638g-jpjr, CGA-j6w3-w4mp-rpmj, CGA-j7hc-g84h-7945, CGA-jcc4-hpf9-8f89, CGA-jmff-xhrx-qgw4, CGA-jmw9-9j4r-6r44, CGA-jr4p-fppq-65gx, CGA-jvm3-9r72-hgrm, CGA-jx2q-37x3-x8g5, CGA-mcjm-w8xx-xjcc, CGA-mgf2-972r-62cp, CGA-mpxj-m9hc-49g9, CGA-mrv3-cc45-53wv, CGA-p6gx-mpqp-899g, CGA-p8xh-c95m-8qcg, CGA-p93r-86cx-qghj, CGA-p9hm-5479-qwgr, CGA-pfv9-3q52-jcqv, CGA-ph9x-pp76-2mqx, CGA-pj4q-8p2f-22h2, CGA-ppw3-mp36-98qq, CGA-pr3c-4q4g-r857, CGA-prr6-x8f6-8xw6, CGA-pw8f-4g7p-ccv2, CGA-pxqh-w76g-3xx4, CGA-q32p-m9m6-2xqv, CGA-q5wq-5588-q3cv, CGA-q9j8-r3c4-qv2g, CGA-qch5-4mv5-36gv, CGA-qmqw-2q3q-j2cw, CGA-qvq3-2rpc-9pfw, CGA-qx84-fcw9-32c8, CGA-r6w4-x247-g6mg, CGA-r8hg-w2rr-47jv, CGA-rg5j-fhgg-v42x, CGA-rggh-94wg-pc4h, CGA-rjh2-8fpm-74hr, CGA-rjh4-8mm6-jp33, CGA-rp6v-727x-6p84, CGA-rv45-frrj-9hgv, CGA-rvcg-xw8q-cgqw, CGA-rw5v-m9w8-c7vc, CGA-rw8p-fqvm-g7vg, CGA-rx4p-g32c-f6p3, CGA-rxxm-3hxj-ggqr, CGA-v2jm-c2v2-x8g5, CGA-v3gq-jxrp-wr7v, CGA-v55r-j734-fhmm, CGA-v763-3mm2-jp5x, CGA-v88q-rr2v-wh74, CGA-vc4f-99w3-rcq6, CGA-vc89-rh6x-895m, CGA-vcg7-cc7w-76f2, CGA-vgx5-cpcp-6qx8, CGA-vjh4-4768-mfwp, CGA-vjjr-v8qp-78gq, CGA-vq4g-4qq8-g72f, CGA-vq79-58j9-322p, CGA-vrr3-24mv-6gf6, CGA-vvwv-9j6c-g49g, CGA-vwx3-hhgf-76qv, CGA-vxrj-v82x-4fpv, CGA-w2qr-w5vv-3c49, CGA-w887-j9mh-9f8f, CGA-wc93-xx7j-j88c, CGA-wcvq-4qxc-m6r3, CGA-wfp5-p966-w73q, CGA-wph3-j8r2-99wq, CGA-ww5h-3qh4-75fq, CGA-x492-f8vw-9x98, CGA-x4v7-vw84-5w2h, CGA-x5wm-84c7-3vhv, CGA-x6c6-7vx6-7mvw, CGA-x6pv-67m4-7cq5, CGA-x6vr-w4gh-x83c, CGA-x8gq-hxmg-3f56, CGA-xcfp-xfp4-85xq, CGA-xm4w-2fc8-536q, CGA-xxc6-qr8g-c363
- Record: https://cvemate.com/vulnerability/CVE-2026-31802 · JSON: https://cvemate.com/vulnerability/CVE-2026-31802/json

## Description

```text
node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This vulnerability is fixed in 7.5.11.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
- EPSS: 0.283%, percentile 22.31%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 117)

- chainguard actions-runner (Chainguard): \< 2.332.0-r2
- chainguard drupal-11.3 (Chainguard): \< 11.3.13-r3
- chainguard gemini-cli (Chainguard): \< 0.49.0-r4
- chainguard gitlab-rails-ce-18.1 (Chainguard): \< 18.1.6-r31
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.6-r12
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- 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.0 (Chainguard): \< 19.0.4-r10 \| \< 19.0.3-r1
- chainguard gitlab-rails-ce-19.1 (Chainguard): \< 19.1.2-r8
- chainguard gitlab-rails-ce-19.2 (Chainguard): \< 19.2.2-r2
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): \< 18.1.6-r61 \| \< 18.1.6-r15
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.12-r2
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256>
- <https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad>
- <https://ubuntu.com/security/CVE-2026-31802>
- <https://www.cve.org/CVERecord?id=CVE-2026-31802>
- <https://security-tracker.debian.org/tracker/CVE-2026-31802>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31802.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31802>
- <https://github.com/isaacs/node-tar>

---

Data as of 2026-12-05T10:25:04.181Z. 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
