CVE-2026-137569 PUBLISHED

xtractr before 0.4.1 Path Traversal via Output Prefix Check

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 5.3

Product Status

Vendor golift
Product xtractr
Versions Default: unaffected
  • affected from 0 to 0.4.1 (excl.)

Credits

  • Yeonghyeon Choi finder
  • Duyeong Kim finder

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE