Skip to content
VulniPulse
Advisory severityHigh7.5Red Hat Linux

High [CVE-2026-39246] arbitrary symlink creation during archive extraction leads to information disclosure

This high-severity Red Hat Linux advisory covers CVE-2026-39246 affecting Red Hat Advanced Cluster Management for Kubernetes 2.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-39246 Source published Source updated

VulniPulse record published Record updated

CVE-2026-39246
Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Summary

decompress before 4.2.2 allows arbitrary symlink creation during archive extraction. When processing symlink entries (type === 'symlink'), the x.linkname field from the archive is passed directly to fs.symlink() without validation (index.js line 121).

The preventWritingThroughSymlink check on line 98 only applies to file entries, not symlink creation. An attacker can craft an archive with symlink entries pointing to sensitive files outside the extraction directory (e.g., /etc/passwd), enabling information disclosure when the application reads the extracted contents.

A flaw was found in the decompress package for Node.js. The package creates symlinks from archive entries during extraction without validating the link target against the output directory, because the existing containment check only applies to regular file entries.

An attacker who can supply a crafted archive for extraction (for example a malicious package tarball or user-uploaded archive) can create a symlink inside the output directory that points to an arbitrary path such as /etc/passwd.

If the extracting application subsequently reads or serves the extracted files, the attacker can achieve disclosure of any file readable by the extracting process, and in combination with a later write to the same symlinked path, potentially write through the link as well.

Is CVE-2026-39246 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2026-39246 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2026-39246?

The advisory VulniPulse tracks names no fixed release. Follow Red Hat's guidance for workarounds and updates.

Confirm against the vendor advisory before you patch.

Affected versions
  • < 4.2.2

Official advisory · high-confidence parse· fetched 11 days ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists. Confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 11 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Do not use decompress to extract archives from untrusted sources. Where extraction of externally-supplied or otherwise untrusted archives is required, migrate to the maintained fork @xhmikosr/decompress (>= 10.2.1 or >= 11.1.3), which validates symlink and hardlink targets against the output directory before creating them. As an interim mitigation, run extraction as a non-privileged, sandboxed process and reject any archive containing symlink or hardlink entries before extraction.

Official advisory · high-confidence parse· fetched 11 days ago·verify at source

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Red Hat
All Red Hat Linux advisories

iPhone and Android apps · New on the App Store

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.