# CVE-2026-50017: pnpm binds unscoped user-level npm auth credentials to a repository-selected registry

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T16:56:04.836Z
- Modified: 2026-06-30T19:04:10.207Z
- Also known as: GHSA-cjhr-43r9-cfmw
- Weaknesses: CWE-200, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.33.4; >= 11.0.0, < 11.4.0; before 10.34.0; from 11.0.0 before 11.4.0
- pnpm (npm): before 10.34.0; from 11.0.0 before 11.4.0

## Every score

- GitHub_M: CVSS:4.0 6.9 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-cjhr-43r9-cfmw> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50017> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-50017](https://www.cve.org/CVERecord?id=CVE-2026-50017), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-cjhr-43r9-cfmw](https://github.com/advisories/GHSA-cjhr-43r9-cfmw), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-50017](https://nvd.nist.gov/vuln/detail/CVE-2026-50017), Public domain, modified 2026-06-30

---

Page: https://cve.day/CVE-2026-50017 · Whole record: https://cve.day/CVE-2026-50017.json · Rebuilt by cve.day 2026-11-25T22:59:26.396Z
