Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-50017 EUVD-2026-39495GHSA-cjhr-43r9-cfmw

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

Published Jun 25, 2026 · Updated Jun 26, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
pnpm pnpm < 10.33.4, >= 11.0.0, < 11.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling pnpm-stage0 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm pnpm < 10.34.0 10.34.0 GHSA-cjhr-43r9-cfmw
npm pnpm >= 11.0.0, < 11.4.0 11.4.0 GHSA-cjhr-43r9-cfmw

References