CVE-2026-55180CWE-200CWE-201CWE-522
pnpm: Repository config can expand victim environment secrets into registry requests before scripts run
Medium · published June 25, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 6.5 · MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CVSS v4.0
- Not supplied
- EPSS
- 0.00366 · 29.3th percentile
- Weaknesses
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-201 · Insertion of Sensitive Information Into Sent Data; CWE-522 · Insufficiently Protected Credentials
- Published
- 2026-06-25T17:00Z
EPSS history
Timeline