# CVE-2026-140235: node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection

- 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-rgjp-p5j7-w36x, CGA-v885-f865-53fj, CGA-wqg7-mvx3-8h95, CGA-56x9-mhm5-jhm3, CGA-5cx3-crfw-9mcj, CGA-hhx6-77vx-g722, CGA-mmfp-6hhj-gc7q, CGA-wchc-5r5q-xcjj, CGA-2ccf-hvfh-fcq3, CGA-2jj4-ccfg-wcp7, CGA-2q4w-qv6g-f3m9, CGA-2w4w-h6v9-794x, CGA-2xrp-mp4p-6hfg, CGA-32qx-8v56-wxfg, CGA-3qf4-h6pf-jcpr, CGA-49pw-j5cc-6gjv, CGA-4f8m-2246-6x7p, CGA-4rrw-vf6v-75q6, CGA-4vp9-p48f-x6f5, CGA-553h-pwp3-gg66, CGA-58f9-p7j5-9h99, CGA-5x5m-g2q2-c2m4, CGA-64q7-r4r7-qjmm, CGA-658m-9pgh-c3qj, CGA-6x3w-p6jp-p55x, CGA-7g76-rc85-pcxf, CGA-7mrw-67x2-3j53, CGA-7rjp-wf9r-6xv2, CGA-88gj-9cmf-qp7g, CGA-93w7-vrvv-32gv, CGA-9r6q-j46h-c298, CGA-9w67-9qwj-574w, CGA-c8x7-9pm8-m9vg, CGA-f28j-wq28-gh5p, CGA-g93w-j8jp-cjxm, CGA-gf24-j373-grhj, CGA-ggxf-q2wq-xxrc, CGA-hh63-vqrw-465g, CGA-m2c8-fhfc-m38h, CGA-mr32-qfxq-mg32, CGA-mv48-wc87-fpq7, CGA-p9h8-66x5-vj97, CGA-pwjm-ccvm-4xpm, CGA-qfh6-w74v-f98m, CGA-r659-58f5-945x, CGA-rh9f-c7hh-x5qm, CGA-rmqh-qfrp-8hqj, CGA-v399-683j-4p3p, CGA-vvqm-xqwc-23gq, CGA-w575-f9hv-g4f9, CGA-xcp3-2gv9-77jm, CGA-xgw9-f872-c8q5, CGA-22xw-m2ch-hjr9, CGA-2cj9-vh54-673f, CGA-2mf2-jvfx-hmfg, CGA-2v7r-3x4f-q4g2, CGA-2wf6-7f7w-9ccj, CGA-2xqj-wj3v-42fq, CGA-3wf4-r94m-4qxv, CGA-3xw2-f3fq-rq9x, CGA-42xp-2q42-fv6w, CGA-43g3-xjj9-955m, CGA-4f8p-79mg-wgpx, CGA-4g9x-3gh8-w972, CGA-4r68-m2qf-9489, CGA-4xpr-m99f-74v9, CGA-575w-fcg7-m687, CGA-5mgp-47hj-fhfp, CGA-5wgf-8m98-mjpw, CGA-5wvc-94vp-5p74, CGA-632j-q53j-q22x, CGA-6f7m-9m53-772x, CGA-6hw4-cch2-pjwq, CGA-6j5j-w48r-92ff, CGA-6qjc-435h-x9q9, CGA-6rw9-4r3w-rw66, CGA-7245-f97w-7hxw, CGA-736g-m7q6-cpch, CGA-77hg-5c3p-c9c3, CGA-77wh-365m-h7m7, CGA-7xr4-pw96-vchq, CGA-83p4-wrp2-hrh3, CGA-87gh-h598-xp7w, CGA-88pq-4mw9-ph56, CGA-8j47-c6c3-5hwq, CGA-8jj2-hw35-rmhv, CGA-93j6-27fc-p5xm, CGA-94pm-75w6-6rpr, CGA-97f7-qc62-c9fv, CGA-9h3v-63c2-54jw, CGA-9vvr-x4rv-xhv9, CGA-c2hf-6hmp-g2gv, CGA-c4x6-gvv2-x4j8, CGA-cmhw-qj42-m7w8, CGA-fcxw-6fh4-mhmh, CGA-fg43-2qcv-9qch, CGA-fmr6-64w7-w9hv, CGA-fr67-6c9j-2x8w, CGA-gfgc-7m4p-6347, CGA-ghm2-x332-44cr, CGA-gpx4-27qr-r7g8, CGA-gw63-cwj5-q9hc, CGA-h28h-mcj8-89mr, CGA-h297-wcrq-95vp, CGA-hj8c-jmj4-p976, CGA-hpp7-34j7-924g, CGA-hw5r-hqcg-33j9, CGA-j348-xvph-4hff, CGA-j8hj-xqrv-fgq7, CGA-jcxm-vwh6-4wx3, CGA-m7rc-q4vg-q67w, CGA-mfx3-qw79-wmvp, CGA-mmw4-3hvj-mghj, CGA-mwvr-565c-79cx, CGA-p226-jmhg-4qw5, CGA-pgg7-jqfq-rcx5, CGA-pgj5-4pmr-jxc4, CGA-phwm-4c7q-v87x, CGA-pjvx-rhwv-rw8f, CGA-q5x7-wrgf-cqjx, CGA-qc76-798c-4gfh, CGA-qfh4-q66r-prpq, CGA-qrjh-rj5j-j73r, CGA-r7qj-h29w-6pv3, CGA-rcch-pfxc-g559, CGA-v8wq-p84w-hp2p, CGA-vqvr-4j9m-524q, CGA-w44r-hp6q-7vwg, CGA-w52g-4j6c-qgh6, CGA-wg8x-7pw6-6666, CGA-wvg4-94v9-2vc6, CGA-x4x9-j28v-6wg3, CGA-xgm8-7vfm-37xr, CGA-xj32-fg93-rgj8, CGA-xv87-fxwp-v73f, CGA-xvx2-2q88-qqwh, DEBIAN-CVE-2026-140235, CGA-2hfr-2frv-r9cq, CGA-3mgp-88pw-639x, CGA-8xfx-vrc2-429p, CGA-3qw6-v67c-r2cc, CGA-3rgj-99qc-phc8, CGA-4fhx-5jjc-m8m2, CGA-5p5q-jjxp-w8xf, CGA-8pwq-f8cj-6vmj, CGA-cvr8-wrjj-f44v, CGA-fxcf-8fwc-jhcw, CGA-gxqq-63jr-jp27, CGA-qwm7-rmgc-c49x, CGA-vwwh-6g3q-qwrv, CGA-7fq9-8345-cmq2, CGA-fr98-r2j6-x69p, CGA-pw2m-qpxq-25wg, CGA-rjwr-jfc6-xjpm, UBUNTU-CVE-2026-140235, CGA-43jg-53wf-6m3c
- Record: https://cvemate.com/vulnerability/CVE-2026-140235 · JSON: https://cvemate.com/vulnerability/CVE-2026-140235/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged path may instead be absolute or contain a parent-directory component. 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.826%, percentile 58.72%, 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 99)

- 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 graalvm-25.6-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard haraka (Chainguard): All versions (No fix recorded)

## References

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

---

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