Back to CVE records
Medium 6.4Published Jun 25, 2026

CVE-2026-50014pnpm: Git Fetch Argument Injection via Lockfile resolution.commit

Updated under an hour ago ()

Does this affect you?

It affects pnpm. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-88
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jun 25, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
pnpm pnpm
pnpm:pnpm (from the name)
before 10.33.4; from 11.0.0, < 11.4.0
CNA record
pnpm pnpm
pnpm:pnpm
before 10.34.0; from 11.0.0 before 11.4.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.