Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 74%

CVE-2026-39243: n/a

0
Medium
Published: 07/10/2026 (07/10/2026, 00:31:25 UTC)
Source: CVE Database V5

Description

A vulnerability in decompress versions before 4.2.2 allows an attacker to create arbitrary hardlinks during archive extraction. This occurs because the x.linkname field from the archive is used without validation when processing hardlink entries, enabling an attacker to link to any file on the same filesystem. This can lead to unauthorized reading and overwriting of files, causing file disclosure and corruption. The vulnerability is limited to files on the same filesystem and does not affect directories. A patch is available to address this issue.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected software

decompress
pkg:npm/decompress
Affected versions
<4.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 18:10:06 UTC

Technical Analysis

The decompress library before version 4.2.2 contains a vulnerability (CVE-2026-39243) where the x.linkname field in hardlink entries is passed directly to fs.link() without validation. This allows an attacker to craft an archive with a hardlink entry pointing to an absolute path of any file on the same filesystem. During extraction, this creates a hardlink inside the extraction directory that shares the inode with the target file, enabling both reading and overwriting of the original file's content. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access).

Potential Impact

Successful exploitation allows an attacker with the ability to supply archive files to cause arbitrary file read disclosure and file corruption on the target system by creating hardlinks to existing files. This can compromise confidentiality and integrity of files on the same filesystem as the extraction directory. The attack requires local access or the ability to influence archive extraction and does not affect availability.

Mitigation Recommendations

A patch is available for decompress that fixes this vulnerability in version 4.2.2. Users should upgrade to version 4.2.2 or later to remediate this issue. Until patched, avoid extracting untrusted archives with decompress or implement additional validation on archive contents to prevent hardlink exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-04-06T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50171468715ace431ea188

Added to database: 07/09/2026, 21:48:04 UTC

Last enriched: 08/13/2026, 18:10:06 UTC

Last updated: 08/23/2026, 23:41:37 UTC

Views: 66

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses