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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-201 — CWE-201: Insertion of Sensitive Information Into Sent Data
- CWE-522 — CWE-522: Insufficiently Protected Credentials
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pnpm | pnpm | < 10.34.2; >= 11.0.0, < 11.5.3 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r (x_refsource_CONFIRM)
Generated from the official CVE List on 26 Jun 2026 07:05 UTC.