p PatchFirst

CVE-2026-55180

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.34.2: Affected
    • >= 11.0.0, < 11.5.3: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.34.2

    Update to 10.34.2

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 11.0.0, < 11.5.3

    Update to 11.5.3

Original sources

Check your server →