Skip to main content

@xhmikosr/decompress CVE-2026-101894

| EUVDEUVD-2026-88365 CRITICAL
Path Traversal (CWE-22)
2026-09-28 GitHub_M GHSA-hrh2-vp3x-79xf
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Identify app that decompresses untrusted archives
  2. Delivery
    Craft archive with chained symlink entries
  3. Exploit
    Extraction plants symlink then follows chain past output dir
  4. Execution
    Write file outside output (startup script/config)
  5. Persist
    Overwritten script executes
  6. Impact
    Remote code execution

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

Requires that the consuming application call the default decompress(input, output) API (versions of @xhmikosr/decompress before 10.2.2 and 11.1.4, or any version of the unmaintained kevva/decompress through 4.2.1) on an archive whose contents the attacker controls or can influence. The archive must contain chained/self-referential symlink entries so a later entry resolves outside the output directory once earlier symlinks are materialized; the flaw specifically bypasses the earlier CVE-2026-53486 lexical-containment hardening. Exploitation is limited to non-Windows platforms for the symlink path (the fix's guard and test are Windows-skipped since Windows emulates symlinks via hardlinks), and practical impact requires the extraction to run with permissions allowing writes to sensitive targets (startup scripts/config) for the RCE outcome - pure escape otherwise yields arbitrary file read/write within the process's privileges.

Impact

This is a credible high-priority issue rather than an inflated CVSS score. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, 9.1) reflects that any application using the default decompress(input, output) API on an attacker-supplied archive can be compromised without authentication or user interaction, and the fix commit demonstrates a concrete, low-complexity technique (self-referential symlink chain, e.g. a->"." then b->a/../secret.txt). The 'network' vector and PR:N/UI:N are library-context assumptions: real exposure depends on whether the consuming application ingests untrusted archives over the network, which is common for upload/import/plugin/build pipelines but not universal - this nuance should temper the raw 9.1 for environments that only decompress trusted content. No EPSS score, no CISA KEV listing, and no standalone public exploit are present in the input, so this is not confirmed active exploitation; however, the published fix includes a working reproduction test that lowers the bar to weaponization. A notable amplifier: this is explicitly a bypass of the incomplete CVE-2026-53486 hardening, meaning already-patched deployments may still be vulnerable, and the unmaintained upstream kevva/decompress package remains unpatched through 4.2.1 with no fix forthcoming.

Exploit ScenarioDerived

An application (or a transitive dependency) uses decompress() with its default API to extract a user-uploaded or externally-fetched archive. An attacker submits a crafted archive containing chained symlink entries whose final entry lexically appears inside the output directory but, once the earlier symlinks exist, resolves outside it via the kernel - letting the attacker write over a startup script or config file and achieve remote code execution. No public standalone exploit is listed, but the vendor fix commit ships a test that reproduces the escape, so the technique is fully documented.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 28, 2026

Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to resolve file writes outside the intended output directory, because the default decompress(input, output) API relies on lexical path containment checks that the kernel's symlink resolution can bypass. This affects @xhmikosr/decompress before 10.2.2 and before 11.1.4, and the separately maintained but unmaintained kevva/decompress package through 4.2.1, which remains unpatched. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N, 9.1) indicates unauthenticated remote triggering with high confidentiality and integrity impact; writing outside output can overwrite startup scripts or configuration and escalate to remote code execution, and the flaw is a bypass of the incomplete hardening previously applied for CVE-2026-53486. Exploitation requires the consuming application to extract an attacker-influenced archive on a non-Windows platform (Windows emulates symlinks via hardlinks and does not follow the affected path), and no public exploit code was identified at time of analysis, though the upstream fix ships a regression test that documents the escape technique.

RemediationAI

Upgrade @xhmikosr/decompress to 10.2.2 or 11.1.4 or later (see https://github.com/XhmikosR/decompress/releases/tag/v10.2.2 and https://github.com/XhmikosR/decompress/releases/tag/v11.1.4); these releases add phased extraction ordering plus an assertSymlinkResolvesInside guard that realpaths the longest existing prefix and deletes any symlink whose target escapes the output directory, and the corresponding commits are 5f4b2f64abb31bbaf1fef8975b595fd7df2558d8 and f6c88c668216d6a12c6cecf4fe0b6c70bf77050a. Vendor-released patch: @xhmikosr/decompress 10.2.2 and 11.1.4. The unmaintained kevva/decompress package has no vendor-released fix through 4.2.1, so migrate consumers to the maintained @xhmikosr/decompress fork at a fixed version rather than waiting for a backport. Where upgrading is not immediately possible, compensating controls include: refusing to extract untrusted archives with the default decompress(input, output) call, and instead pre-scanning archives and rejecting any entry of type 'symlink' or 'link' whose linkname contains '..' or is self-referential - this is effective but breaks legitimate archives that intentionally ship relative symlinks; running extraction as an unprivileged, dedicated user inside a container or chroot whose only writable mount is the output directory, which prevents escape-driven overwrites of startup scripts or configuration but requires container-level deployment changes; and pre-creating or hardening the output directory with restrictive ownership/permissions so extracted content cannot overwrite sensitive targets, though this does not stop arbitrary reads or writes within the process's own privileges. Note that the symlink-based exploitation path is specific to non-Windows platforms; Windows extraction emulates symlinks via hardlinks and is not affected by this chain. See the advisory at https://github.com/XhmikosR/decompress/security/advisories/GHSA-hrh2-vp3x-79xf for the authoritative fix guidance.

Affected VersionsENISA

decompress ≤ 4.2.1
decompress 11.0.0, < 11.1.4
decompress < 10.2.2

Affected Packages

npm @xhmikosr/decompress fix: 10.2.2, 11.1.4
npm decompress fix: 10.2.2, 11.1.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

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

Technical ContextAI · show details

The package extracts archives by iterating over entries and, for each, computing a destination path, ensuring the parent directory exists, and checking that the resolved destination stays inside the output directory. The vulnerable logic (CWE-22, Improper Limitation of a Pathname to a Restricted Directory) performed only lexical containment checks and realpath checks on the destination's parent directory, which does not account for the operating system kernel following a symlink chain that was planted by earlier entries in the same archive. A first entry such as a symlink named 'a' pointing at '.' resolves lexically inside the output directory, so a later entry whose linkname is 'a/../secret.txt' also passes the lexical test but, once the kernel dereferences the previously created symlink, resolves outside the output tree. The upstream fix (commits 5f4b2f64abb31bbaf1fef8975b595fd7df2558d8 and f6c88c668216d6a12c6cecf4fe0b6c70bf77050a) restructures extraction into phases: regular files and directories first, then symlinks, then hardlinks, followed by a new assertSymlinkResolvesInside pass that uses a resolveMaybeMissing helper to realpath the longest existing prefix (following sibling symlinks) and append the missing tail, refusing to keep any symlink whose raw linkname escapes the real output path and unlinking it on failure. It also preserves the mode-masking behavior that strips setuid/setgid/sticky bits from archive entries. The affected products are identified by CPE as cpe:2.3:a:xhmikosr:decompress (the maintained fork, fixed in 10.2.2 and 11.1.4) and cpe:2.3:a:kevva:decompress (the original, unmaintained package, unpatched through 4.2.1).

Know when Decompress 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 (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

Untrusted archive reaches the default API over the network with no auth or interaction; low-complexity crafted symlink chain yields arbitrary read/write (C:H/I:H), availability not the direct impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE CRITICAL
Red Hat 7.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Sep 28, 2026 - 18:01 EUVD
CVE Published
Sep 28, 2026 - 16:57 cve.org
CRITICAL 9.1

DescriptionCVE.org

The decompress package for Node.js extracts archives. Prior to 10.2.2 and 11.1.4, the default decompress(input, output) API relies on lexical containment checks that do not account for the kernel following a planted symlink chain. An attacker can supply a crafted archive containing chained symlink entries so that a later entry resolves outside the output directory. This allows files outside output to be read or written, and overwriting startup scripts or configuration can lead to remote code execution. The maintained @xhmikosr/decompress package is fixed in 10.2.2 and 11.1.4, but the separately affected unmaintained decompress package remains unpatched through 4.2.1. This vulnerability results from a bypass of the incomplete hardening for CVE-2026-53486. @xhmikosr/decompress is fixed in versions 10.2.2 and 11.1.4.

Technical POC Analysis

Primary weakness: CWE-22, Improper Limitation of a Pathname to a Restricted Directory.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

The Node.js decompress package (@xhmikosr/decompress and kevva/decompress) contains a critical archive extraction flaw that can write files outside the intended output directory, potentially overwriting startup scripts or configuration and escalating to remote code execution. This affects any application that extracts attacker-influenced archives on non-Windows platforms, and the issue is unauthenticated and remotely triggerable. Leadership should prioritize remediation because the unmaintained kevva/decompress package through 4.2.1 has no vendor-released patch identified at time of analysis, and successful exploitation could cause full system compromise with high confidentiality and integrity impact.

Business Impact: Severe
Compensating Controls

Apply vendor patch for @xhmikosr/decompress (10.2.2 or 11.1.4). For kevva/decompress through 4.2.1, no vendor-released patch identified at time of analysis; interim mitigations include rejecting or stripping symlinks before extraction, enforcing realpath-based containment checks, running extraction in a low-privilege sandbox with a read-only or dedicated output filesystem, blocking extraction of untrusted archives, and monitoring for file writes outside intended output directories.

Threat Intelligence Overview

EPSS Score
0.8%
Top 45% exploitable
Prevalence
High
decompress is a widely-used npm tarball extractor with very large download volume
Threat Intel
1
1 source
Social Media
3
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected

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