tar: node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation
High severity. CVE-2026-140239. ## Summary A tar archive with a **Global Extended Header** (PAX type `g`) with a `linkpath` field injects that value into every entry returned by `tar.Parser` , including plain `File` and `Directory` entries, with **zero warnings under `strict: true`**. This happens because `header.js`'…
CVEs in this story
Timeline 7
Every report on this story, plus its CVEs, exploit code and scanner detection, newest first.
Thu, Dec 3, 2026
- Exploit codegooglesky/CVE-2026-140239: node-tarGitHub (unverified) · 01:15 UTC
- DetectionTenable Container Security plugin 499012: Chainguard: gemini-cli: security update to 0.72.0-r1gitlab-rails-ce-19.4: security update to 19.4.11-r5gitlab-rails-ce-19.5: security update to 19.5.9-r5Tenable
- DetectionTenable Cloud Security plugin 499012: Chainguard: gemini-cli: security update to 0.72.0-r1gitlab-rails-ce-19.4: security update to 19.4.11-r5gitlab-rails-ce-19.5: security update to 19.5.9-r5Tenable
Wed, Dec 2, 2026
- Researchtar: node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validationGitHub Advisories · 01:25 UTC
- DetectionTenable Cloud Security plugin 489532: SCA: security update for tar (GHSA-ffhw-4r4q-5cwv)Tenable
- DetectionTenable Container Security plugin 489532: SCA: security update for tar (GHSA-ffhw-4r4q-5cwv)Tenable
Tue, Dec 1, 2026
- CVECVE-2026-140239 published (CVSS 7.2)CVE Program · 18:17 UTC