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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 69.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmpnpm10.34.2GHSA-3qhv-2rgh-x77r
npmpnpm11.5.3GHSA-3qhv-2rgh-x77r

Affected products (as reported)

VendorProductVersions
pnpm pnpm < 10.34.2>= 11.0.0, < 11.5.3

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