{"id":"CVE-2026-50017","published":"2026-06-25T16:56:04Z","modified":"2026-06-26T18:42:51Z","title":"pnpm binds unscoped user-level npm auth credentials to a repository-selected registry","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.29892,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-cjhr-43r9-cfmw","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":5.98},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.33.4",">= 11.0.0, < 11.4.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-26T18:38:00.630495Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.34.0",">=11.0.0, <11.4.0"],"patched":["10.34.0","11.4.0"],"from":["GHSA-cjhr-43r9-cfmw"],"provenance":"source"}],"summary":{"text":"pnpm, in versions before 10.34.0 and 11.4.0, binds a user's unscoped npm authentication token to whatever registry a repository's local .npmrc selects, because it does not check that the credential belongs to that registry. An attacker who controls a repository can therefore cause pnpm to send the user's npm token to a registry they choose during ordinary metadata and install operations, with no authentication required and only a normal user action (such as running pnpm against the repository) needed to trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:30Z"},"euvd":{"id":"EUVD-2026-39495","exploited":false,"provenance":"source"}}