tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
Package
Affected versions
>= 3.0.0, < 3.1.1
>= 2.0.0, < 2.1.4
< 1.16.6
Patched versions
3.1.1
2.1.4
1.16.6
Description
Published by the National Vulnerability Database
Sep 24, 2025
Published to the GitHub Advisory Database
Sep 24, 2025
Reviewed
Sep 24, 2025
Last updated
Sep 26, 2025
Impact
v3.1.0, v2.1.3, v1.16.5 and below
Patches
Has been patched in 3.1.1, 2.1.4, and 1.16.6
Workarounds
You can use the ignore option to ignore non files/directories.
Credit
Reported by: Mapta / BugBunny_ai
References