CVE Catalog

CVE-2026-39246

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.49%

38th percentile - higher than 38% of all known CVEs

Summary

The 'decompress' library before version 4.2.2 allows arbitrary symlink creation during archive extraction. An attacker can craft an archive with symlink entries pointing to sensitive files outside the extraction directory, leading to information disclosure.

Risk Assessment

The organization is at risk of leaking confidential data, such as configuration files or passwords, if an application using the 'decompress' library processes archives from untrusted sources.

Recommendation

Immediately update the 'decompress' library to version 4.2.2 or later, which includes a fix preventing symlink creation outside the allowed directory.

Other vulnerabilities in decompress

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS