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

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T16:51:16.652Z
- Modified: 2026-11-03T23:17:46.100Z
- Also known as: GHSA-p4xf-rf54-rj3x
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.33.4; >= 11.0.0, < 11.4.0; before 10.34.0; from 11.0.0 before 11.4.0
- pnpm (npm): before 10.34.0; from 11.0.0 before 11.4.0

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-p4xf-rf54-rj3x> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50014> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-50014](https://www.cve.org/CVERecord?id=CVE-2026-50014), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-p4xf-rf54-rj3x](https://github.com/advisories/GHSA-p4xf-rf54-rj3x), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-50014](https://nvd.nist.gov/vuln/detail/CVE-2026-50014), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-50014 · Whole record: https://cve.day/CVE-2026-50014.json · Rebuilt by cve.day 2026-11-25T22:59:26.395Z
