Security mailing lists by PureSourceCode

CVE-2026-50014

HIGH 7.3CVSS 3.1

pnpm: Git Fetch Argument Injection via Lockfile resolution.commit

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.

Published
25 Jun 2026
Last modified
3 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-88
Also known as
GHSA-p4xf-rf54-rj3x
Sources
NVDJSONOSV GHSA-p4xf-rf54-rj3xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pnpm pnpm
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*
< 10.34.0 10.34.0
NVD pnpm pnpm
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*
>= 11.0.0, < 11.4.0 11.4.0
OSV npm pnpm < 10.34.0 10.34.0
OSV npm pnpm >= 11.0.0, < 11.4.0 11.4.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.