VDB

CVE-2026-39243

CVE-2026-39243 PUBLISHED CVSS 5.5 MEDIUM

Reported by mitre · Published July 9, 2026

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.

Risk Scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected Products

VendorProductVersions
n/an/an/a
npmdecompress0
n/an/an/a, n/a, n/a

Timeline

  • Jul 9, 2026 CVE Published
  • Jul 10, 2026 Coalition ESS Score
  • Jul 13, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score
  • Aug 14, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score
  • Aug 29, 2026 EPSS Score
  • Sep 4, 2026 EPSS Score
  • Sep 9, 2026 EPSS Score
  • Sep 12, 2026 EPSS Score
  • Sep 16, 2026 EPSS Score
  • Sep 18, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 50/day Open console ›