CVE-2026-50017

MEDIUM

pnpm binds unscoped user-level npm auth credentials to a repository-selected registry

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 6.5
EPSS 0.0025
EPSS Percentile 16.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-200 CWE-522
Status published
Products (5)
npm/pnpm 0 - 10.34.0npm
npm/pnpm 11.0.0 - 11.4.0npm
pnpm/pnpm < 10.34.0
pnpm/pnpm < 10.33.4
pnpm/pnpm >= 11.0.0, < 11.4.0
Published Jun 25, 2026
Tracked Since Jun 25, 2026