CVE 6.5 MEDIUM

pnpm: Repository config can expand victim environment secrets into registry requests before scripts run_CVE-2026-55180

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

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.

Basic Information

ID CVE-2026-55180
Source GitHub_M
Published Jun 25, 2026 at 17:00
Modified Jun 25, 2026 at 17:58

Affected Product

Vendor pnpm
Product pnpm
Version < 10.34.2
Affected Versions pnpm pnpm < 10.34.2
pnpm pnpm >= 11.0.0, < 11.5.3

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.