CVE-2026-55180

MEDIUM

pnpm: Repository config can expand victim environment secrets into registry requests before scripts run

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 6.5
EPSS 0.0021
EPSS Percentile 11.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-200 CWE-201 CWE-522
Status published
Products (4)
npm/pnpm 0 - 10.34.2npm
npm/pnpm 11.0.0 - 11.5.3npm
pnpm/pnpm < 10.34.2 (2 CPE variants)
pnpm/pnpm >= 11.0.0, < 11.5.3
Published Jun 25, 2026
Tracked Since Jun 25, 2026