Security mailing lists by PureSourceCode

CVE-2026-39246

HIGH 7.5CVSS 3.1

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.

Published
9 Jul 2026
Last modified
13 Jul 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-59
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD decompress_project decompress
cpe:2.3:a:decompress_project:decompress:*:*:*:*:*:node.js:*:*
<= 4.2.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.