89 matches found
CVE-2026-140239
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create...
CVE-2026-140246
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, where a backslash is an ordinary...
CVE-2026-140245
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink linkpath containment bypass via entry paths ending in '/.'. A crafted archive can create a symlink pointing outside the extraction directory using default options and without any warning. The affected...
CVE-2026-140118
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.j...
node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill
Summary node-tar's PathReservations.getDirs materializes every parent-directory prefix of a given path as individual strings — an ON² operation. The existing maxDepth guard applies only to entry.path, not to entry.linkpath. A crafted archive with a shallow entry.path and a deeply-nested linkpath...
GHSA-XM6H-2993-3CH9 node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill
Summary node-tar's PathReservations.getDirs materializes every parent-directory prefix of a given path as individual strings — an ON² operation. The existing maxDepth guard applies only to entry.path, not to entry.linkpath. A crafted archive with a shallow entry.path and a deeply-nested linkpath...
CVE-2026-23745
CVE-2026-23745: node-tar Arbitrary File Overwrite Research: Joshua van Rijswijk Description PoC for CVE-2026-23745 , a high-severity path traversal vulnerability in node-tar 7.5.2. The library fails to sanitize absolute paths in the linkpath field for Hardlinks and Symlinks. This allows malicious...
DHI-I7CU-AHPT-V6JU-TOEN node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing…
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create...
DHI-X72T-A5EP-AI3B-FPVN node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink…
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, where a backslash is an ordinary...
DHI-4XCI-B26X-6MQQ-JNKH node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, the STRIPABSOLUTEPATH linkpath containment…
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, the STRIPABSOLUTEPATH linkpath containment check uses path.resolve and collapses parent components without following an earlier archive-created symlink. A second symlink can therefore be planted inside the extraction root...
DHI-K5UL-EZOI-RRY7-N4HZ node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink linkpath containment bypass…
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink linkpath containment bypass via entry paths ending in '/.'. A crafted archive can create a symlink pointing outside the extraction directory using default options and without any warning. The affected...
GHSA-RGJP-P5J7-W36X node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection
Summary node-tar parses POSIX pax extended headers by splitting the header body on every newline and validating each resulting line's length prefix, instead of consuming length-delimited records as the format specifies. A record whose value contains a newline which occurs legitimately whenever an...
node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation
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's slurp correctly excludes linkpath...
GHSA-FFHW-4R4Q-5CWV node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation
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's slurp correctly excludes linkpath...
npm: node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation
npm: node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation vulnerability discovered by ? in WordPress npm tar versions 8.0.0...
node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
Summary The GHSA-f5x3-32g6-xq36 fix bounded the depth component count of entry.path with maxDepth. The path-reservation code still computes every ancestor prefix of each reserved path, and its cost grows with the number of components multiplied by the path length. That bound doesn't apply to...
node-tar: Symlink containment bypass via nested symlink + '..' (lexical linkpath check)
Summary node-tar checks that a symlink's target stays inside cwd, but the check is lexical. It runs path.resolvedirname, linkpath, which collapses .. without following symlinks. Entry 1 s1 - . is accepted because its target is cwd. Entry 2 s2 - s1/../secret.txt resolves lexically to /secret.txt a...
npm: node-tar: Symlink containment bypass via nested symlink + '..' (lexical linkpath check)
npm: node-tar: Symlink containment bypass via nested symlink + '..' lexical linkpath check vulnerability discovered by ? in WordPress npm tar versions 8.0.0...
GHSA-MHQM-9WJ8-W7R4 node-tar: Symlink containment bypass via nested symlink + '..' (lexical linkpath check)
Summary node-tar checks that a symlink's target stays inside cwd, but the check is lexical. It runs path.resolvedirname, linkpath, which collapses .. without following symlinks. Entry 1 s1 - . is accepted because its target is cwd. Entry 2 s2 - s1/../secret.txt resolves lexically to /secret.txt a...