CVE-2026-140237: PAX Metadata-Body File Smuggling and Interpretation Conflict in node-tar
Vulnerability ID: CVE-2026-140237
CVSS Score: 6.9
Published: 2026-12-02
An interpretation conflict vulnerability in node-tar versions 7.0.0 prior to 8.0.0 allows attackers to smuggle arbitrary tar archive members inside POSIX extended header (PAX) metadata blocks. Because node-tar reapplied pending PAX size attributes onto subsequent metadata entries, an attacker can set a PAX size of zero to prematurely terminate metadata body consumption. When combined with multi-engine inspection and extraction pipelines, this parser desynchronization permits file smuggling that bypasses archive member allowlists, malware scanning, and security policy verification.
TL;DR
node-tar versions 7.0.0 through 7.5.24 improperly apply pending PAX size attributes to subsequent metadata entries, causing the parser to treat the body of a metadata block as a top-level tar header.…