CVE-2026-101894: @xhmikosr/decompress Path Traversal Vulnerability via Symlink Chain

@xhmikosr/decompress Updated 30 Sep 2026

Summary

29/09/2026
Yes i
Critical
9.1

CVE-2026-101894: @xhmikosr/decompress: Path traversal via symlink chain. Affects @xhmikosr/decompress across 2 version ranges.

< 10.2.2 >= 11.0.0, < 11.1.4

Fixed in 10.2.2 or 11.1.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The @xhmikosr/decompress package is a Node.js library designed for extracting files from various archive formats. It is widely used in applications that require file decompression capabilities. However, this package is vulnerable to a path traversal issue that arises when handling untrusted archives, allowing attackers to manipulate file paths through symlink chains.

Vulnerability Detail

The vulnerability stems from the way the @xhmikosr/decompress package processes symlink entries in archives. When an untrusted archive is extracted using the default decompress(input, output) API, a crafted archive can contain a series of symlinks that lead to paths outside the designated output directory. Although lexical containment checks are performed, the kernel follows the symlinks, enabling an attacker to write and read files beyond the intended extraction directory. This could result in the overwriting of critical startup scripts or configuration files, potentially leading to remote code execution. This vulnerability is a bypass of previous hardening measures and affects any application that extracts archives controlled by an attacker.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 10.2.2 10.2.2
    npm install @xhmikosr/decompress@10.2.2
  • >= 11.0.0, < 11.1.4 11.1.4
    npm install @xhmikosr/decompress@11.1.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading is not feasible, avoid extracting untrusted archives with affected versions. As a temporary measure, validate entries out of band and reject any entries whose resolved path escapes the target directory.

Conclusion

The @xhmikosr/decompress package has a critical vulnerability (CVE-2026-101894) that allows for path traversal via symlink chains when extracting untrusted archives. Users are strongly advised to upgrade to the latest patched versions to mitigate the risk of exploitation. If upgrading is not an option, strict validation of archive entries is necessary to prevent potential attacks.

See every vulnerability recorded for @xhmikosr/decompress →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.1, indicating a critical level of severity.

Any application that extracts attacker-controlled archives using the @xhmikosr/decompress package is at risk.

Yes, the vulnerability has been patched in version 11.1.4 and backported to version 10.2.2 of the @xhmikosr/decompress package.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities using just package-lock.json. You can also check your application using the Vulert playground at Vulert Scanner.

If upgrading is not possible, ensure that you do not extract untrusted archives and validate any entries to prevent path traversal.

Related vulnerabilities

Recent vulnerabilities recorded for @xhmikosr/decompress.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 10.2.2 10.2.2
    npm install @xhmikosr/decompress@10.2.2
  • >= 11.0.0, < 11.1.4 11.1.4
    npm install @xhmikosr/decompress@11.1.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback