265212 matches found
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...
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...
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-JMJ2-9C5Q-VW73 node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'
Summary A relative symlink linkpath is validated against path.posix.dirnameentry.path but created at path.resolvecwd, entry.path. An entry named 'x/.' shifts the check's base one level shallower, so one '..' is absorbed by the check and the link still escapes the extraction directory, with defaul...
EUVD-2026-140451
node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'...
node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'
Summary A relative symlink linkpath is validated against path.posix.dirnameentry.path but created at path.resolvecwd, entry.path. An entry named 'x/.' shifts the check's base one level shallower, so one '..' is absorbed by the check and the link still escapes the extraction directory, with defaul...
npm: node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'
npm: node-tar: Symlink linkpath containment bypass via entry paths ending in '/.' vulnerability discovered by ? in WordPress npm tar versions = 7.5.5, 8.0.0...
EUVD-2026-140452
node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential...
node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential
Summary On a non-Windows host, extracting a crafted tar with default options makes node-tar LINK calls fs.symlinkentry.linkpath, entry.absolute src/unpack.ts, lines 640-660 and 866-881, where "" is an ordinary filename character. So a segment like "A\B" counts as TWO segments to the check but ONE...
npm: node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential
npm: node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential vulnerability discovered by ? in WordPress npm tar versions 8.0.0...
GHSA-HQGX-P3R3-2CFG node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential
Summary On a non-Windows host, extracting a crafted tar with default options makes node-tar LINK calls fs.symlinkentry.linkpath, entry.absolute src/unpack.ts, lines 640-660 and 866-881, where "" is an ordinary filename character. So a segment like "A\B" counts as TWO segments to the check but ONE...
npm: node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creates symlinks outside the extraction directory
npm: node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creates symlinks outside the extraction directory vulnerability discovered by ? in WordPress npm tar versions 8.0.0...
node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creates symlinks outside the extraction directory
Summary With default options, tar.x / Unpack / UnpackSync can be made to create SymbolicLink entries whose targets resolve outside the extraction directory, although the README states that "Link and SymbolicLink entries are not allowed to target locations outside of the extraction folder". The...
GHSA-GVRF-JX37-RJV5 node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creates symlinks outside the extraction directory
Summary With default options, tar.x / Unpack / UnpackSync can be made to create SymbolicLink entries whose targets resolve outside the extraction directory, although the README states that "Link and SymbolicLink entries are not allowed to target locations outside of the extraction folder". The...
EUVD-2026-140453
node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creates symlinks outside the extraction directory...
node-tar: Nested symlink target can escape node-tar extraction root
Summary With default preservePaths: false, tar 7.5.22 can extract a symbolic link whose effective target is outside the extraction directory. A crafted archive first creates one in-root symlink and then a second symlink whose target contains that symlink followed by ... The containment check...
EUVD-2026-140455
node-tar: Nested symlink target can escape node-tar extraction root...
EUVD-2026-140456
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain...
npm: node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
npm: node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain vulnerability discovered by ? in WordPress npm tar versions = 7.5.5, 8.0.0...
node-tar: Symlink target escapes the extraction directory through an in-archive symlink chain
Summary Summary With default options, tar.x in tar 7.5.5 through 7.5.23 the latest release creates a symbolic link that points outside the extraction directory, and raises no warning. The archive needs only a directory and two symlinks. This breaks the README's listed protection that "Link and...