{"id":"CVE-2026-55180","published":"2026-06-25T17:00:35Z","modified":"2026-06-25T17:58:51Z","title":"pnpm: Repository config can expand victim environment secrets into registry requests before scripts run","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00366,"percentile":0.2263,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.53},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.34.2",">= 11.0.0, < 11.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T17:58:14.420758Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.34.2",">=11.0.0, <11.5.3"],"patched":["10.34.2","11.5.3"],"from":["GHSA-3qhv-2rgh-x77r"],"provenance":"source"}],"summary":{"text":"The flaw is in pnpm's handling of repository-controlled configuration: pnpm (and its pacquet implementation) expands ${ENV_VAR} placeholders found in .npmrc and pnpm-workspace.yaml when building registry request destinations and registry credentials. An attacker who can get a victim to work with a malicious repository, with the victim's user interaction required, can have dependency resolution send the victim's environment secrets to an attacker-selected registry over the network, with no authentication needed and before lifecycle scripts run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:00Z"},"euvd":{"id":"EUVD-2026-39498","exploited":false,"provenance":"source"}}