CVE 6.9 MEDIUM

pnpm binds unscoped user-level npm auth credentials to a repository-selected registry_CVE-2026-50017

6.9 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2026-50017
Source GitHub_M
Published Jun 25, 2026 at 16:56

Affected Product

Vendor pnpm
Product pnpm
Version < 10.33.4
Affected Versions pnpm pnpm < 10.33.4
pnpm pnpm >= 11.0.0, < 11.4.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.