Skip to main content

Golift xtractr CVE-2026-137569

| EUVDEUVD-2026-136362 MEDIUM
Path Traversal (CWE-22)
2026-11-26 VulnCheck
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft archive with ../outputdir_evil entries
  2. Exploit
    Deliver to system extracting untrusted archives
  3. Execution
    HasPrefix prefix check bypassed, path escapes root
  4. Impact
    Write or overwrite files in sibling directory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an application using golift xtractr before 0.4.1 extract an attacker-controlled archive (ZIP, TAR, 7z, RAR, cpio, ar, or ISO) - this is the passive user interaction (UI:P) in the vector. The specific trigger is an archive entry whose path resolves to a sibling of the configured OutputDir sharing its name prefix (e.g. OutputDir followed by '_evil'), which defeats the non-separator-aware strings.HasPrefix(cleanPath, x.OutputDir) check. Limiting factors: the attacker cannot traverse to arbitrary filesystem locations, only to directories sharing the OutputDir name prefix, and impact is confined to file creation/overwrite (integrity) with no read/confidentiality or denial-of-service effect; the host application must also actually feed untrusted archives through xtractr for the condition to be reachable.

Impact

This is a genuine but moderate-severity integrity flaw, not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N) scores 5.3 and signals that while reachable over the network with no privileges and low complexity, exploitation is gated by passive user interaction (UI:P) and limited to low integrity impact with no confidentiality or availability loss. No CISA KEV listing and no public exploit is present in the input, so exploitation status is: no public exploit identified at time of analysis - only a regression test (path_boundary_test.go) ships with the fix, which is not weaponized exploit code. EPSS was not provided, so probability of exploitation cannot be quantified. The vuln.today Decision label is 'this_month' (a routine remediation priority, not act_now/emergency), which aligns with the mid-range CVSS and absence of active-exploitation evidence. The real limiter is mechanism: the strings.HasPrefix bug only permits writing into sibling directories whose names share the OutputDir prefix (e.g. OutputDir + '_evil'), not arbitrary traversal to anywhere on disk, so the practical blast radius is narrower than a classic Zip-Slip. Net: a legitimate issue worth patching on a normal cycle, not a drop-everything priority.

Exploit ScenarioDerived

An attacker crafts a ZIP, TAR, 7z, or RAR archive containing an entry such as ../<outputdir>_evil/file and gets it to a system that extracts untrusted archives with xtractr (for example via the Unpackerr download-automation pipeline). When the victim process extracts the archive, the separator-unaware prefix check passes and the entry is written into a sibling directory outside the intended extraction root, creating or overwriting files there. No public exploit code is referenced; exploitation requires the victim to process the attacker-supplied archive (UI:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Golift xtractr before 0.4.1 can write files outside the configured extraction root when an application extracts an attacker-controlled archive, allowing creation or overwrite of files in sibling directories whose names share the OutputDir prefix. The flaw is a CWE-22 path traversal caused by a separator-unaware strings.HasPrefix check; it is unauthenticated from the network perspective but requires the host application to process a malicious ZIP, TAR, 7z, RAR, cpio, ar, or ISO archive (UI:P). It is a genuine but moderate-severity integrity flaw (vuln.today priority: this_month), not an emergency, and no public exploit identified at time of analysis; the vendor-released patch is v0.4.1.

RemediationAI

Vendor-released patch: v0.4.1. Upgrade golift xtractr to v0.4.1 or later; building from source should include PR #159 or commit 5e7856d96b89f639ff696b4752f54f3ae44d409d, which replaces the strings.HasPrefix checks with filepath.Rel-based pathWithinOutput and adds symlink/hard-link target validation. The available references do not describe a vendor-documented workaround for affected versions, so the evidence-supported compensating measure until upgrade is to avoid feeding untrusted archives to xtractr, since exploitation requires the host application to extract an attacker-controlled archive. See https://github.com/golift/xtractr/releases/tag/v0.4.1, https://github.com/golift/xtractr/pull/159, https://github.com/Unpackerr/unpackerr/issues/641, and https://www.vulncheck.com/advisories/xtractr-before-0.4.1-path-traversal-via-output-prefix-check.

Affected VersionsENISA

xtractr 0 <0.4.1

Affected Packages

euvd xtractr fix: 0.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-22: the extractor cleans paths but validates containment with strings.HasPrefix(cleanPath, x.OutputDir), which treats a string prefix as a directory boundary. A path such as /tmp/out_evil/file passes for OutputDir /tmp/out because the prefix matches even though the separator is absent, so archive entries like ../out_evil/file can create or overwrite files in the sibling directory. The fix in PR #159 and commit 5e7856d96b89f639ff696b4752f54f3ae44d409d replaces those checks across archive handlers with pathWithinOutput, which uses filepath.Rel to require the path to equal OutputDir or be a descendant, and it adds ensureLinkWithinOutput/createSymlink/createHardLink validation so symlink and hard-link targets cannot escape the extraction root either. The same prefix pattern affected ZIP, TAR, 7z, RAR, cpio, ar, and ISO handling; the CPE wildcard cpe:2.3:a:golift:xtractr:*:*:*:*:*:*:*:* covers pre-0.4.1 releases.

Know when Xtractr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Attacker-supplied archive must be extracted by a victim process (UI:R), no auth needed (PR:N); impact is constrained sibling-directory file writes, so I:L and C:A:N with no scope change.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.6%
Top 60% exploitable
Prevalence
Low
niche Go archive library, mainly used by Unpackerr in *arr media stack
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy