Back to list

@xhmikosr/decompress: Path traversal via symlink chain — GHSA-HRH2-VP3X-79XF

GitHub · GitHub · GHSA-HRH2-VP3X-79XF

ID
GHSA-HRH2-VP3X-79XF
Date
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.1

Summary

### Impact When extracting an untrusted archive with the default `decompress(input, output)` API, a crafted archive containing a chain of symlink entries can make a later entry resolve **outside** the output directory. The lexical containment checks pass, but the kernel follows the planted symlinks to a path outside `output`, letting an attacker write (and read) files outside the intended extraction directory.…

Timeline

Published by source
2026-09-29

Risk context

  • Reported severity or threat level: critical.
  • Reported CVSS score: 9.1 out of 10.
  • Review exposure for the affected product or family: npm: @xhmikosr/decompress | npm: decompress.

Product

npm: @xhmikosr/decompress | npm: decompress

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-HRH2-VP3X-79XF
Source
GitHub
Vendor
GitHub
Published by source
2026-09-29
Last source activity
2026-09-29
Additional identifiers
CVE-2026-101894
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.