Menu

CVE-2026-140237: CVE-2026-140237: PAX Metadata-Body File Smuggling and Interpretation Conflict in node-tar
📰

CVE-2026-140237: CVE-2026-140237: PAX Metadata-Body File Smuggling and Interpretation Conflict in node-tar

DEV Community: cybersecurity·CVE Reports·about 6 hours ago
#F7sJAQag
#devtocybersecurity#devto#dev#slurp#node
Long article (700 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.