npm / tar
tar
What changed in tar 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
13 security
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittar 713 changes
Security 13
node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
node-tar: Decompression/parse DoS via unlimited input
node-tar: Negative tar entry size causes infinite loop in archive replace
node-tar: Process crash via PAX numeric path type confusion
node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records
node-tar applies PAX size override to intermediary GNU long-name/long-link headers, causing tar parser interpretation differential (file smuggling)
node-tar Symlink Path Traversal via Drive-Relative Linkpath
tar has Hardlink Path Traversal via Drive-Relative Linkpath
Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS
node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
node-tar has a race condition leading to uninitialized memory exposure