Vulnerability · Published Jun 25, 2026 · Assigned by GitHub_M
CVE-2026-55180pnpm: Repository config can expand victim environment secrets into registry requests before scripts run
Medium 6.5
In plain English
A medium-severity information exposure in pnpm from pnpm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | pnpm | 10.34.2 | GHSA-3qhv-2rgh-x77r |
| npm | pnpm | 11.5.3 | GHSA-3qhv-2rgh-x77r |
Affected products (as reported)
Weakness: CWE-200, CWE-201, CWE-522 · Vector: 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 x_refsource_CONFIRM