Skip to content
VulniPulse
Advisory severityHigh7.3Red Hat Linux

High [CVE-2026-50015] Arbitrary file write/delete due to lack of path validation in patch files

This high-severity Red Hat Linux advisory covers CVE-2026-50015.

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

CVE-2026-50015 Source published Source updated

VulniPulse record published Record updated

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

Summary

pnpm is a package manager. An attacker who contributes a malicious patch file via a pull request can write attacker-controlled content to or delete arbitrary files on the filesystem during pnpm install, as the user running the install.

The diff --git header paths containing../../ sequences traverse out of the package directory, and the traversal is difficult to catch in code review because patch file diff headers are opaque to most reviewers. This vulnerability is fixed in 10.34.0 and 11.4.0.

A flaw was found in pnpm. During the pnpm install process, the patch application pipeline fails to validate file paths extracted from these patch files.

This allows the attacker to write or delete arbitrary files on the filesystem, potentially leading to arbitrary code execution or privilege escalation on the system where pnpm install is executed.

This is due to insufficient path validation within the patch application pipeline, allowing directory traversal and potentially leading to arbitrary code execution or privilege escalation on the system where the installation is performed. Red Hat severity: Important — CVSS 7.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H).

Weakness: CWE-22. Red Hat lists Red Hat AMQ Broker 7; Red Hat Build of Keycloak; Red Hat JBoss Enterprise Application Platform 8; Red Hat JBoss Enterprise Application Platform Expansion Pack as not affected.

Is CVE-2026-50015 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2026-50015 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-50015?

Upgrade to a fixed release named by Red Hat:

  • 10.34.0
  • 11.4.0

Confirm against the vendor advisory before you patch.

Affected versions
  • < 10.34.0
  • < 11.4.0

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

Fixed versions
  • 10.34.0
  • 11.4.0

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

Mitigation

Upgrade to a fixed release: 10.34.0, 11.4.0. That is the remediation for this advisory.

The vendor advisory may list interim mitigations or workarounds not captured here. Review it before change work.

Official advisory · high-confidence parse· fetched 15 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.