CVE-2026-39246
High · 7.5CVSS
7.5
EPSS
0.7%
Published
Jul 9, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-64672 Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in… CWE-59
- CVE-2026-121224 Security issue in Desktop in Google Chrome on on Mac prior to 157.0.8103.38 allowed a… CWE-59
- CVE-2026-88968 Claude Code is an agentic coding tool. CWE-59
- CVE-2026-63395 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-59
- CVE-2026-119673 MongoDB Database Tools mongofiles does not resolve existing parent-directory symlinks… CWE-59
- CVE-2026-103916 Docker Sandboxes sbx cp does not safely confine host-side paths to a shared workspace. CWE-59
- CVE-2026-121546 ruTorrent before 5.3.20 contains a path traversal vulnerability in the datadir plugin… CWE-59
- CVE-2026-121550 nnn through 5.3 contains an insecure file handling vulnerability that allows local… CWE-59