Vulnerability

CVE-2026-39246

highCVSS 3.1 7.5Published 9 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

decompress before 4.2.2 allows arbitrary symlink creation during archive extraction. When processing symlink entries (type === 'symlink'), the x.linkname field from the archive is passed directly to fs.symlink() without validation (index.js line 121). The preventWritingThroughSymlink check on line 98 only applies to file entries, not symlink creation. An attacker can craft an archive with symlink entries pointing to sensitive files outside the extraction directory (e.g., /etc/passwd), enabling information disclosure when the application reads the extracted contents.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Decompress Project decompress

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning