CVE-2026-137569

xtractr before 0.4.1 Path Traversal via Output Prefix Check

Medium published · updated

5.3
CVSS score out of 10 · CNA (VulnCheck)

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 / packageEcosystem / vendorVersionsFixed inSource
xtractr golift 0 → <0.4.10.4.1 CVE.org

References