CVE-2026-55180
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-06-25
- Last modified
- 2026-06-29
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 25 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| pnpm (npm) | < 10.34.2 | Affected | |
| pnpm (npm) | ≥ 11.0.0, < 11.5.3 | Affected | |
| Pnpm | Pnpm | < 10.34.2 | Affected |
| Pnpm | Pnpm | ≥ 11.0.0, < 11.5.3 | Affected |
Weakness type
-
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
-
CWE-201: Insertion of Sensitive Information Into Sent Data
The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.
-
CWE-522: Insufficiently Protected Credentials
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1021: Remote Services
- T1021.002: SMB/Windows Admin Shares
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1078: Valid Accounts
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1110.004: Credential Stuffing
- T1111: Multi-Factor Authentication Interception
- T1114.002: Remote Email Collection
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r
- https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.