{"id":"CVE-2026-50014","published":"2026-06-25T16:51:16Z","modified":"2026-11-03T22:13:26Z","title":"pnpm: Git Fetch Argument Injection via Lockfile resolution.commit","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00318,"percentile":0.17192,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-p4xf-rf54-rj3x","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":3.44},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.33.4",">= 11.0.0, < 11.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-26T03:56:19.957760Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.34.0",">=11.0.0, <11.4.0"],"patched":["10.34.0","11.4.0"],"from":["GHSA-p4xf-rf54-rj3x"],"provenance":"source"}],"summary":{"text":"A flaw in pnpm's handling of git dependencies lets a lockfile-supplied resolution.commit value reach git fetch without a \"--\" separator or commit-format validation, so a crafted value can be interpreted as a Git option. The issue affects git dependencies fetched through the shallow-fetch path, and an attacker who supplies a malicious lockfile can get --upload-pack to run an arbitrary command over SSH or local git transports, while HTTPS transports ignore that option, which limits the practical exposure mainly to SSH or local git dependencies.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:27Z"},"euvd":{"id":"EUVD-2026-39490","exploited":false,"provenance":"source"}}