CVE-2026-137569
xtractr before 0.4.1 Path Traversal via Output Prefix Check
Medium · 5.3Fix available
- CVSS
- 5.3
- EPSS
- 0.55% (p40)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- golift xtractr
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
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.
Fixed in
0.4.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | xtractr | >=0, <0.4.1 | 0.4.1 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/Unpackerr/unpackerr/issues/641 issue-tracking
- https://github.com/golift/xtractr/pull/159 issue-tracking
- https://github.com/golift/xtractr/commit/5e7856d96b89f639ff696b4752f54f3ae44d409d patch
- https://github.com/golift/xtractr/releases/tag/v0.4.1 release-notes
- https://github.com/golift/xtractr/blob/v0.4.0/zip.go#L102 technical-description
- https://www.vulncheck.com/advisories/xtractr-before-0.4.1-path-traversal-via-output-prefix-check third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137569.json advisory
- https://github.com/golift/xtractr package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137569 advisory
- https://pkg.go.dev web