GHSA-2fcv-9f95-p67vHighCVSS 8.1
unearth through 0.18.2, fixed in commit 6c78164, contains a path traversal vulnerability in the...
🔗 CVE IDs covered (1)
📋 Description
unearth through 0.18.2, fixed in commit 6c78164, contains a path traversal vulnerability in the is_within_directory function that fails to normalize paths before validation, allowing ../ sequences to bypass directory containment checks. Attackers can supply malicious tar archives with symlink members or traversal sequences to write files to arbitrary filesystem locations accessible to the process.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-73030
- https://github.com/frostming/unearth/issues/180
- https://github.com/frostming/unearth/pull/181
- https://github.com/frostming/unearth/commit/6c78164e7bfa28b8b3d6f247b87e560692e3c8ba
- https://www.vulncheck.com/advisories/unearth-path-traversal-via-unnormalized-paths-and-symlink-escape
- https://github.com/advisories/GHSA-2fcv-9f95-p67v