CVE-2026-50017Pnpm
Medium 6.9 No auth needed
Follow: this CVE · Pnpm · Pnpm We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Jun 25, 2026
- Updated
- Jun 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm can send user-level unscoped npm authentication credentials to a registry chosen by a repository-local .npmrc file. In the reproduced case, the user's npm config contains a default registry and an unscoped _authToken. The repository does not provide a token-bearing auth line. It only sets registry= to a different registry URL. During normal pnpm metadata/install workflows, pnpm binds the user-origin unscoped credential to the repository-selected registry and sends it as an Authorization header. This vulnerability is fixed in 10.34.0 and 11.4.0.
What to do
- Apply the vendor's security update for Pnpm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | pnpm |
< 10.34.0 |
10.34.0 |
npm install pnpm@10.34.0 |
| npm | pnpm |
≥ 11.0.0 < 11.4.0 |
11.4.0 |
npm install pnpm@11.4.0 |
Per OSV / GitHub Advisories (GHSA-cjhr-43r9-cfmw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pnpm | pnpm | < 10.34.0 |
| pnpm | pnpm | ≥ 11.0.0 < 11.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory