Live threats

All CVEs / Decompress Project

CVE-2026-39243Decompress Project Decompress

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
—
Auth required
Yes
Published
Jul 9, 2026
Updated
Jul 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Decompress.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm decompress ≤ 4.2.1 no fixed version —

Per OSV / GitHub Advisories (GHSA-jwp9-9v96-94mx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
decompress_projectdecompress≤ 4.2.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.