# CVE-2026-140239: node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation

- 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-05
- Aliases: GHSA-ffhw-4r4q-5cwv, CGA-26qj-cpmg-4g4h, CGA-h78g-jwvv-8rgx, CGA-33vm-m8g4-93px, CGA-4qgh-5pfh-pxm4, CGA-84rq-55p4-3xx4, CGA-w44m-fmrf-56fp, CGA-x4wr-9f4h-2r67, CGA-24p5-hcxx-7w9p, CGA-2pfq-r7gf-cqrj, CGA-42f9-2ggw-gq9c, CGA-4ffh-64mw-7c8c, CGA-5ggm-96qg-6q7v, CGA-5gr4-jhrp-mxww, CGA-62q2-48x7-w5c7, CGA-6cc6-2w95-56rp, CGA-6hhx-cqc9-m3jx, CGA-6jvc-f4g4-gm8c, CGA-7gm8-vcfh-hm4p, CGA-7r9r-2hgc-xh4x, CGA-7rgf-7hhv-vmxm, CGA-993j-28h8-gmr2, CGA-99w8-2vrp-pch2, CGA-c4h4-9v7v-xqq6, CGA-c5wh-32j7-3wcr, CGA-cg52-753j-4jv3, CGA-cpfc-78pp-g9r8, CGA-cr3f-7vf5-64mq, CGA-f5h2-mq5m-c2cp, CGA-fjfv-fvwg-4cm8, CGA-fmjr-r5cg-wc2q, CGA-fq77-4mgg-x9pr, CGA-g5xx-c29f-j4rm, CGA-gh3j-pxr2-chcc, CGA-gv3x-43q3-c59w, CGA-hg68-jjm3-8xc4, CGA-hrrp-hqvw-xhmj, CGA-j68w-jmp7-2h99, CGA-p7wx-m6hq-3j6w, CGA-p976-m8ff-4vr7, CGA-pcm7-65mf-xxqv, CGA-ppgx-8qg5-gp2w, CGA-qjqw-jfcq-mf5f, CGA-qjxp-93m8-mgpx, CGA-qw5x-h9pf-79xp, CGA-rfh9-553c-q9xm, CGA-rj4f-m96w-vj6m, CGA-rmqf-wq6j-5844, CGA-rpwc-qgh9-c9r3, CGA-v4rh-x3r6-gvxh, CGA-vhcq-rpmg-5wh8, CGA-vmhw-5mvp-wh3x, CGA-2p9w-g7gm-5j5p, CGA-35hr-g3jm-49cc, CGA-382p-p5mg-ph78, CGA-3j77-hrwr-rffj, CGA-3jvp-498m-4wq8, CGA-43cv-rcm9-p6gh, CGA-44x3-fq3g-ppfv, CGA-4qm9-69vf-wxw7, CGA-4rf3-4qxg-398q, CGA-4wh9-qxxh-w39c, CGA-5hc7-53xj-c9qf, CGA-5pq2-fmph-v7rq, CGA-5q88-jp2j-29m3, CGA-5xw8-mq47-3xhp, CGA-6265-4x4v-c565, CGA-6536-j68h-jq27, CGA-6cgq-g5gc-cvwc, CGA-6cq3-m4vc-6jq8, CGA-6fp3-v2jj-xmj2, CGA-6g6r-jmgw-g97w, CGA-6m4g-wc34-c97h, CGA-6www-prj9-q3c6, CGA-6xx5-wq6q-8f6g, CGA-764c-7gxq-3wvq, CGA-76fj-jjqp-mghm, CGA-77mw-wfm7-39r8, CGA-7fv2-x8gx-vcw2, CGA-7m94-8q2m-w9g7, CGA-7rw2-932j-7cm2, CGA-85m2-p6x3-73m4, CGA-873h-mv68-rmpq, CGA-8cpf-5jvw-8j2c, CGA-8gh6-vcxh-4jfp, CGA-8h2v-mm7h-6vgq, CGA-8qg5-mw8x-52ff, CGA-8rr4-qjxf-6627, CGA-94j3-4hp4-x27m, CGA-9523-pgfr-pm3j, CGA-9545-56cf-2rjx, CGA-9623-fgwg-26fh, CGA-96hm-p42c-hxff, CGA-96ww-2fcv-q93p, CGA-984h-x95x-84rc, CGA-9j7c-r4mp-pwq7, CGA-9qvm-54wv-v7f7, CGA-cg2g-q48r-5c84, CGA-cq62-p7pr-6j65, CGA-f9x9-v2pc-284m, CGA-fcf5-j7qx-j23m, CGA-fq4h-fghh-7xhr, CGA-fwxv-x37c-55fm, CGA-g7rv-px94-5ppg, CGA-gm9m-wvwm-92hr, CGA-gwqj-vw3h-g9m5, CGA-h2j3-hm35-6fm4, CGA-h722-wrm8-856c, CGA-hcr5-97xq-942h, CGA-hhwc-9jvw-5j7j, CGA-hjxw-ph2x-6w4x, CGA-hmpm-pfv5-xcc9, CGA-j9c5-5xjm-4hfx, CGA-jcxf-3phw-q37q, CGA-mch2-5rg3-h8w4, CGA-mfmx-c2vg-8f4f, CGA-mh3x-gvpj-wxj2, CGA-mj26-hp9j-cfcp, CGA-mxj7-39wx-vpxq, CGA-p2hr-hqgx-h8hh, CGA-phpx-72wr-3vgm, CGA-pxc2-8gx8-4mfv, CGA-q5j2-7fgg-jr43, CGA-q99c-vhg7-4fpp, CGA-qcr9-jwxr-2vmx, CGA-qfxf-crqp-4mpr, CGA-qqqr-43pr-fm79, CGA-r38h-748r-jx2j, CGA-r68p-f9g2-h53g, CGA-rwrq-9j6v-mx36, CGA-v3cc-2g66-89m7, CGA-v945-3gfw-6v8j, CGA-vc77-cmvq-32v2, CGA-vpvq-2p3j-cg66, CGA-w2mc-gh28-xv5g, CGA-w5j3-x96p-8j6c, CGA-wfpc-r9g3-9c68, CGA-wmhm-hqhh-825r, CGA-x3v7-gxwc-h29x, CGA-x43w-4gc5-mpc4, CGA-x97g-xr3q-36pv, CGA-x9r6-6p9j-7q5j, CGA-xr3r-84hp-c3hh, CGA-xw72-4xh5-8pph, DEBIAN-CVE-2026-140239, CGA-952q-cgpr-hw7g, CGA-262j-9fh2-f4gm, CGA-3g26-j9j8-32hm, CGA-4q74-w27v-r7gc, CGA-4vxc-r59v-5hc5, CGA-6984-998f-7r75, CGA-7prx-j3r4-6879, CGA-9wwx-p26v-c6j5, CGA-cw6w-g5jc-j675, CGA-cxjf-fhhh-gf4c, CGA-fv24-cw87-vwpg, CGA-fx2j-3r34-6mpv, CGA-8778-mw45-4qwg, CGA-23pc-9xh7-8cqg, CGA-9pw3-pmjm-5wgf, UBUNTU-CVE-2026-140239
- Record: https://cvemate.com/vulnerability/CVE-2026-140239 · JSON: https://cvemate.com/vulnerability/CVE-2026-140239/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create paths or symlinks outside their intended directory, resulting in arbitrary file read or write. Node-tar's own tar.x and tar.extract operations are not affected because Unpack separately rejects an escaping linkpath. 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.438%, percentile 39.836%, 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 101)

- 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-ffhw-4r4q-5cwv>
- <https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237>
- <https://github.com/isaacs/node-tar/releases/tag/v8.0.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140239>
- <https://github.com/isaacs/node-tar>
- <https://security-tracker.debian.org/tracker/CVE-2026-140239>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140239.json>
- <https://ubuntu.com/security/CVE-2026-140239>
- <https://www.cve.org/CVERecord?id=CVE-2026-140239>

---

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