cve.bz

CVE-2026-39243 decompress project decompress: Link Following

5.5 mediumExploit referenceEPSS 0.3%

Medium (5.5) in decompress project decompress. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-07-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39243 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39243?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39243?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39243 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
decompress_project:decompressthrough 4.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jwp9-9v96-94mxnpmdecompress<=4.2.1no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hathummingbird:1dotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 5 more0:8.0.28-1.1.hum1RHSA-2026:37577
Red Hathummingbird:1dotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 2 more0:8.0.128-1.1.hum1RHSA-2026:37577

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in the `decompress` library allows an attacker to create arbitrary hardlinks during archive extraction. By crafting a malicious archive, an attacker could exploit this to disclose sensitive file contents or corrupt files on the same filesystem where the archive is extracted. This risk is present in Red Hat products that utilize the `decompress` library for archive handling.

Upstream scores I:N, but Red Hat assigns I:L because a hardlink to an absolute path shares the target’s inode, so writes through the extracted name can corrupt or overwrite the original file, not only disclose its contents.

Red Hat's mitigation

To mitigate this issue, avoid extracting archives from untrusted or unknown sources. When processing archives from potentially untrusted origins, consider using a sandboxed environment to limit the impact of any malicious content.

ProductPackageStateAdvisory
Red Hat Hardened Imagesdotnet8-0-main-8.0.128-1.1.hum1Fixed 2026-07-10RHSA-2026:37577
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleFix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Fix deferred
Red Hat Build of KeycloakdecompressFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39243.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON