What’s Vulnerable › Vulnerabilities
CVE-2026-55180: pnpm: Repository config can expand victim environment secrets into registry requests before scripts run
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-25 · updated 2026-06-29
- Weakness: CWE-200
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.
Affected products
- pnpm: before 10.34.2; from 11.0.0 before 11.5.3 — fixed in 10.34.2, 11.5.3
How to fix
Upgrade to a fixed version: pnpm 10.34.2, 11.5.3. Check the vendor advisory for mitigations.
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r
- https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r
Get alerted when CVE-2026-55180 or the next vulnerability affects your stack