CVE-2026-39243

MEDIUM CVSS 3.1: 5.5 EPSS 0.30%
Updated Jul 13, 2026
Decompress_Project
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 4.2.1
Type CWE-59 (Improper Link Resolution)
Vendor Decompress_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Decompress_Project Decompress
cpe:2.3:a:decompress_project:decompress:*:*:*:*:*:node.js:*:*
— <= 4.2.1