Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. CVE-2026-55180

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

June 26, 2026

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.

References

  • github.com/advisories/GHSA-3qhv-2rgh-x77r
  • github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r
  • nvd.nist.gov/vuln/detail/CVE-2026-55180

Code Behaviors & Features

Detect and mitigate CVE-2026-55180 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.34.2, all versions starting from 11.0.0 before 11.5.3

Fixed versions

  • 10.34.2
  • 11.5.3

Solution

Upgrade to versions 10.34.2, 11.5.3 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-201: Insertion of Sensitive Information Into Sent Data
  • CWE-522: Insufficiently Protected Credentials

Source file

npm/pnpm/CVE-2026-55180.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 10 Jul 2026 12:17:56 +0000.