Intel

AIKIDO-2026-130799

@xhmikosr/decompress is vulnerable to Path Traversal

CVE-2026-101894Published Sep 22, 2026
September 22, 2026

91

CVE Score

Critical

Path Traversal

Are you affected? Scan for Free

TL;DR

The default decompress(input, output) API extracts symlink and hardlink entries by resolving each target lexically against the output directory, without a final check against where the entry actually lands on disk. A crafted archive with a chain of symlink entries passes each lexical containment check, but the kernel follows the planted symlinks so a later entry resolves outside output, letting it write or read files outside the intended extraction directory. Overwriting startup scripts or configuration this way can lead to remote code execution. The fix extracts files and directories before symlinks and hardlinks, then resolves each symlink's real target against the output directory and removes it if it escapes.

How do I fix this?

Upgrade the @xhmikosr/decompress library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 10.2.1

Fixed in 10.2.2

11.0.0 - 11.1.3

Fixed in 11.1.4

Background info

@xhmikosr/decompress is vulnerable to Path Traversal in versions 0.0.1 - 10.2.1 and 11.0.0 - 11.1.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea