Skip to main content
VulnerabilityPublished Updated

CVE-2026-50015: pnpm · Arbitrary File Write/Delete via Malicious Patch File (Path Traversal)

Affects pnpmSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.3 High : upgrade to 11.4.0 soon.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 11.4.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade pnpm to 11.4.0.

Affected software

ProductAffectedFixed in
Homebrewpnpmpkg:brew/pnpmOther threatsAffected
  • >=4.0.2 <11.4.0
Fixed in
  • 11.4.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied by upgrading pnpm to version 10.34.0 or later, or 11.4.0 or later. This fixes the path traversal validation issue in the patch application pipeline. No additional mitigations are specified or required beyond applying the official fix.

Description

pnpm versions prior to 10.34.0 and 11.4.0 have a vulnerability in their patch application process that allows attackers to write or delete arbitrary files via malicious patch files containing path traversal sequences. This flaw arises because the patch application does not validate file paths extracted from .patch files, enabling directory traversal outside the intended package directory during installation. The issue is fixed in versions 10.34.0 and 11.4.0.

References

Community reviews

Loading reviews…