GHSA-xh37-422m-2vf8MediumCVSS 4.3
Golift xtractr before 0.4.1 contains a path traversal vulnerability that allows attackers to...
🔗 CVE IDs covered (1)
📋 Description
Golift xtractr before 0.4.1 contains a path traversal vulnerability that allows attackers to write files outside the extraction root because a strings.HasPrefix output directory check lacks separator awareness. Attackers can supply ZIP, TAR, 7z, RAR, or other archives with entries like ../_evil/file to create or overwrite files in sibling directories.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137569
- https://github.com/Unpackerr/unpackerr/issues/641
- https://github.com/golift/xtractr/pull/159
- https://github.com/golift/xtractr/commit/5e7856d96b89f639ff696b4752f54f3ae44d409d
- https://github.com/golift/xtractr/blob/v0.4.0/zip.go#L102
- https://github.com/golift/xtractr/releases/tag/v0.4.1
- https://www.vulncheck.com/advisories/xtractr-before-0.4.1-path-traversal-via-output-prefix-check
- https://github.com/advisories/GHSA-xh37-422m-2vf8