CVE-2026-137569
xtractr before 0.4.1 Path Traversal via Output Prefix Check
5.3
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 ../<outputdir>_evil/file to create or overwrite files in sibling directories.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| xtractr | golift | 0 → <0.4.1 | 0.4.1 | CVE.org |