Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137569: medium-severity vulnerability (CVSS 5.3) in golift xtractr.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
golift xtractr < 0.4.1
| Product | Versions | Fixed in |
|---|---|---|
| golift xtractr | < 0.4.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/Unpackerr/unpackerr/issues/641 — CVE Program
- https://github.com/golift/xtractr/pull/159 — CVE Program
- https://github.com/golift/xtractr/commit/5e7856d96b89f639ff696b4752f54f3ae44d409d — CVE Program
- https://github.com/golift/xtractr/releases/tag/v0.4.1 — CVE Program
- https://github.com/golift/xtractr/blob/v0.4.0/zip.go#L102 — CVE Program
- https://www.vulncheck.com/advisories/xtractr-before-0.4.1-path-traversal-via-output-prefix-check — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.