{"id":"CVE-2026-140238","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-140238","summary":"node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, newline splitting of PAX extended header records permits attacker-controlled entry attributes to be forged.…","details":"node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, newline splitting of PAX extended header records permits attacker-controlled entry attributes to be forged. Direct node-tar extraction without strip can overwrite a path within the extraction target. The npm execution chain additionally requires Windows strip:1 normalization, an overwrite of package.json, and later execution of the injected postinstall script; POSIX npm processing with strip:1 is not affected by that chain. This issue is fixed in version 8.0.0.","published":"2026-12-01T18:17:27.547","modified":"2026-12-01T18:17:27.743","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237","label":"isaacs/node-tar@f351e5b"},"references":[{"type":"WEB","url":"https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237"},{"type":"WEB","url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0"},{"type":"WEB","url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-mpg7-vg3p-wc3m"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-12-01T18:17:27.743"}}