Symlink Attack Affecting decompress package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-DECOMPRESS-17937340
  • published10 Jul 2026
  • disclosed10 Jul 2026
  • creditDaniel Pua

Introduced: 10 Jul 2026

NewCVE-2026-39243  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for decompress.

Overview

decompress is a package that can be used for extracting archives.

Affected versions of this package are vulnerable to Symlink Attack via the fs.link process. An attacker can gain unauthorized access to sensitive files or corrupt file contents by crafting an archive containing a hardlink entry with a linkname field set to an absolute path on the same filesystem. This allows the creation of a hardlink in the extraction directory that points to any file on the same filesystem, enabling both reading and overwriting of the original file's content. This is only exploitable if the attacker is able to supply a crafted archive and the extraction occurs on the same filesystem as the target file.

References

CVSS Base Scores

version 4.0
version 3.1