# CVE-2026-55180: pnpm: Repository config can expand victim environment secrets into registry requests before scripts run

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A: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.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T17:00:35.752Z
- Modified: 2026-06-29T21:16:13.053Z
- Also known as: GHSA-3qhv-2rgh-x77r
- Weaknesses: CWE-200, CWE-201, CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

pnpm is a package manager. Prior to 10.34.2 and 11.5.3, pnpm and pacquet expanded ${ENV_VAR} placeholders from repository-controlled .npmrc and pnpm-workspace.yaml into registry request destinations and registry credentials. A malicious repository could cause dependency resolution to send victim environment secrets to an attacker-selected registry before lifecycle scripts run. This vulnerability is fixed in 10.34.2 and 11.5.3.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.34.2; >= 11.0.0, < 11.5.3; before 10.34.2; from 11.0.0 before 11.5.3
- pnpm (npm): before 10.34.2; from 11.0.0 before 11.5.3

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55180> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-55180](https://www.cve.org/CVERecord?id=CVE-2026-55180), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-3qhv-2rgh-x77r](https://github.com/advisories/GHSA-3qhv-2rgh-x77r), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-55180](https://nvd.nist.gov/vuln/detail/CVE-2026-55180), Public domain, modified 2026-06-29

---

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