# CVE-2026-140248: node-tar: Nested symlink target can escape node-tar extraction root

- 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-6wwr-g865-f46r, CGA-6r4q-r886-8qvw, CGA-w6f8-qmw4-5q2j, CGA-22wx-v55x-2vv9, CGA-x4qp-wmhh-chjw, CGA-2ph2-v5w7-jjjf, CGA-2wg4-rjm5-2f2m, CGA-37jx-w8qr-9rj5, CGA-4294-vffv-cq96, CGA-632p-qjc3-cw8q, CGA-79wx-87g9-6rv6, CGA-7rq2-v86x-2jhh, CGA-7vpw-2hj3-49g4, CGA-96qj-33w3-v96v, CGA-9r89-7qj8-5h32, CGA-cvv9-9h39-48vx, CGA-f29v-hmfr-73r4, CGA-ff8w-f9cj-cf9m, CGA-fmgw-238c-8m37, CGA-fw59-xcq6-wg72, CGA-g8jv-3mmp-g3h5, CGA-gxrp-3vc4-vcmw, CGA-hpvj-7255-c9mv, CGA-hqh3-wc57-vpc9, CGA-j39r-3g5p-6rmp, CGA-jmwc-2xwg-fqwh, CGA-jxcc-v3jm-pg24, CGA-jxmr-873w-w75x, CGA-m495-4cxr-5vq4, CGA-p2j6-gxf3-37pg, CGA-pcq8-wwv6-cvx6, CGA-pg4q-44rc-cxgq, CGA-phr7-7gv8-6rfq, CGA-pq2c-v7x9-6592, CGA-pq8w-553x-j5m9, CGA-qp42-pw55-7r33, CGA-rcv2-m242-fc76, CGA-v3vv-gq2q-cf9x, CGA-vfc3-ff22-f787, CGA-vh64-gq48-fpj8, CGA-vrfp-q9wp-865r, CGA-vx9x-88j2-4c7x, CGA-w27m-cg2p-fv5v, CGA-wcxw-rxpw-5cgr, CGA-23gq-h7wq-f794, CGA-27wh-jj23-74pw, CGA-2f94-296r-m88f, CGA-2pq3-x7mr-594q, CGA-3rv5-v457-6cx9, CGA-43hf-q6mp-p5f2, CGA-45f4-crr6-mrpm, CGA-46c4-6ph9-352p, CGA-487p-hgv7-7jwg, CGA-4crg-qjq6-jq64, CGA-4g2c-cq42-96gr, CGA-4hmv-xv89-9875, CGA-4m9f-8p6w-m43v, CGA-53qr-93f6-m8r3, CGA-574x-29h7-69cg, CGA-593m-8vvg-pv4g, CGA-59j8-37pp-gmxr, CGA-5r3x-3fgg-72p9, CGA-5vhq-7485-8574, CGA-5xxf-966f-59jj, CGA-64r8-jch5-5jcx, CGA-6772-6pw6-hrr6, CGA-6pv3-wgx9-99x9, CGA-6xc8-h2h3-7933, CGA-74c2-fjm2-jr65, CGA-79q3-3p52-88pr, CGA-7c8f-5wh3-h7v6, CGA-7q9r-c85j-4vr2, CGA-7wqw-7x99-qvqx, CGA-835q-jwrv-42fh, CGA-864c-cmvc-w9h4, CGA-946x-mqqp-692m, CGA-96rp-x323-mmv4, CGA-9hqx-r7w3-p68q, CGA-9qg9-w5cc-q3qv, CGA-c7h2-4f77-g7ph, CGA-cxqx-grc7-q5f6, CGA-f32h-r74j-gc5w, CGA-fh95-fxwm-vvr4, CGA-fpcf-x868-mxfj, CGA-g47h-vcqv-4j87, CGA-gc73-4qjm-9gf6, CGA-h933-v87x-gfqw, CGA-hhcx-h28j-9r6j, CGA-hp79-843v-5fr7, CGA-hqjh-4j75-hhmp, CGA-j3c6-hqp7-59m6, CGA-j93f-fj7j-q74g, CGA-jg8j-r5hj-hr5h, CGA-jh39-x6c3-9237, CGA-jhxx-fvgx-wc5f, CGA-jr78-x3g4-mwpf, CGA-mp3g-qwr5-pgw9, CGA-mp3q-4v7w-56gc, CGA-mp59-6v7r-rv53, CGA-q982-2j2p-8898, CGA-q9v9-w69v-x2vw, CGA-qf64-25mq-r9hf, CGA-qrgj-rx55-7589, CGA-qv58-7h42-cjcp, CGA-qwg4-cm9j-h2j9, CGA-r788-pp62-jxfc, CGA-rfw4-px8m-c4hp, CGA-rmw2-85w9-93fm, CGA-rv9w-gcxq-jfcm, CGA-v58g-3wg2-qvq6, CGA-v63c-vqff-6g2r, CGA-v66r-c6rw-x25q, CGA-vh9h-gjxj-9vrg, CGA-w4f9-rr4w-j87m, CGA-w857-369m-gwv8, CGA-wg4j-r9q2-v53x, CGA-xpf6-vcxm-gqjf, DEBIAN-CVE-2026-140248, CGA-375v-xch9-prj9, CGA-5xh6-p5wp-24fj, CGA-vwxm-j75x-rm2j, CGA-7hhf-r3q3-p93m, CGA-8m23-h2p5-g6mv, UBUNTU-CVE-2026-140248, CGA-4259-q53f-f9f3, CGA-p33h-w26w-r7gw
- Record: https://cvemate.com/vulnerability/CVE-2026-140248 · JSON: https://cvemate.com/vulnerability/CVE-2026-140248/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, with preservePaths disabled, a crafted archive can first create an in-root symlink and then create a second SymbolicLink whose linkpath traverses that symlink followed by a parent component. STRIPABSOLUTEPATH evaluates the target lexically, while the filesystem follows the first symlink before applying the parent traversal. The resulting link remains inside the extraction tree but points outside it; access outside the root occurs when a later consumer follows the planted link. 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.917%, percentile 61.437%, 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 82)

- chainguard cdxgen-slim (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 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)
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19-bitnami (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.4 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded)
- chainguard lerna (Chainguard): All versions (No fix recorded)
- chainguard node-gyp (Chainguard): All versions (No fix recorded)

## References

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

---

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