CVE-2026-39246

HIGH CVSS 3.1: 7.5 EPSS 0.66%
Updated Jul 13, 2026
Decompress_Project
Parameter Value
CVSS 7.5 (HIGH)
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 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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete 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