CVE-2026-50014

Description

pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm passes the lockfile-controlled git resolution.commit value to git fetch without a -- separator or commit-format validation. For git dependencies fetched through the shallow-fetch path, a malicious lockfile can replace the expected 40-character commit hash with a Git option such as --upload-pack=<command>. For SSH and local transports, --upload-pack can execute the supplied command. HTTPS transports ignore --upload-pack, so the practical attack surface is primarily SSH or local git dependencies. This vulnerability is fixed in 10.34.0 and 11.4.0.

Severity
MEDIUM
CVSS v3
6.4
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N · source cna
Exploit chance (EPSS)
0.318%
chance of exploitation in the next 30 days
higher than 25.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impacttotal
Scored2026-06-26

Timeline

  1. 2026-06-25Published by the CNA16:51 UTC
  2. 2026-06-26GitHub advisory published (GHSA-p4xf-rf54-rj3x)1 day after publication
  3. 2026-06-26CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-p4xf-rf54-rj3x, affected packages:

PackageVulnerable versionsFixed in
npm pnpmbefore 10.34.010.34.0
npm pnpmfrom 11.0.0 before 11.4.011.4.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
pnpm pnpmbefore 10.34.0fixed in 10.34.0from 11.0.0 before 11.4.0fixed in 11.4.010.34.011.4.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources