CVE Catalog

CVE-2026-39243

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

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

Summary

The 'decompress' library before version 4.2.2 allows arbitrary hardlink creation during archive extraction. An attacker can craft an archive with a hardlink entry containing an absolute path to any file on the same filesystem, leading to file content disclosure or overwriting.

Risk Assessment

The organization is at risk of sensitive data leakage and file corruption if a user extracts a malicious archive using the vulnerable library version. An attacker can read or overwrite any file on the filesystem accessible by the extraction process.

Recommendation

Immediately update the 'decompress' library to version 4.2.2 or later. If an update is not possible, avoid extracting archives from untrusted sources.

Other vulnerabilities in decompress

See all
Original NVD description (English source)

decompress before 4.2.2 allows arbitrary hardlink creation during archive extraction, enabling file read disclosure and file corruption. When processing hardlink entries (type === 'link'), the x.linkname field from the archive is passed directly to fs.link() without validation (index.js line 113). An attacker can craft an archive with a hardlink entry whose linkname is an absolute path to any file on the same filesystem. This creates a hardlink inside the extraction directory that shares the same inode as the target file, enabling both reading and overwriting the original file's content. Hardlinks are limited to files on the same filesystem and cannot target directories.

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