ADVISORIES

Vulnerability

CVE-2026-39243

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Red Hat 1SUSE 1npm 1

Advisories

  • GHSA-jwp9-9v96-94mx

    decompress allows arbitrary hardlink creation during archive extraction

    Moderate CVE-2026-39243 npm Updated 13 August 2026
  • RHSA-2026:37577

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-39243CVE-2026-39245CVE-2026-59725CVE-2026-59869 Red Hat Updated 24 November 2026
  • SUSEVEX-CVE-2026-39243

    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…

    Important CVE-2026-39243 SUSE Updated 31 August 2026

References