CVE-2026-137569: xtractr before 0.4.1 Path Traversal via Output Prefix Check

Published Nov 26, 2026
·
Updated

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 Software

1 affected component
golang/github.com/golift/xtractr<0.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade golift/xtractr to a version that resolves this vulnerability.

    Fixed in 0.4.1

Event History

Nov 26, 2026
CVE Published
via MITRE·01:13 PM
Data Sourced
via MITRE·01:13 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using golang/github.com/golift/xtractr before 0.4.1 to extract attacker-controlled archives are exposed. The affected archive formats include ZIP, TAR, 7z, RAR, and other formats handled by the library.

2

What must an attacker do to exploit it?

An attacker must persuade the application to extract a crafted archive. Archive entries can use traversal paths such as ../<outputdir>_evil/file to target files in sibling directories outside the intended extraction root.

3

What is the impact of successful exploitation?

A crafted archive can cause files to be created or overwritten outside the extraction root, in sibling directories. The provided severity vector indicates integrity impact only, with no stated confidentiality or availability impact.

4

How can the issue be remediated?

Upgrade xtractr to version 0.4.1 or later. Versions before 0.4.1 use an output-directory prefix check that does not account for path separators.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203