CVE-2026-50017CWE-200CWE-522

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

Medium · published June 25, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
37.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00437 · 37.0th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-522 · Insufficiently Protected Credentials
Published
2026-06-25T16:56Z
EPSS history
Timeline
  • 25 JUN 16:56Z
    pnpm binds unscoped user-level npm auth credentials to a repository-selected registry
    cvelistv5