pnpm < 10.34.2 / 11.x < 11.5.3 Multiple Vulnerabilities

high Nessus Plugin ID 325222

Synopsis

The pnpm package installed on the remote host is affected by multiple vulnerabilities.

Description

The version of pnpm installed on the remote host is prior to 10.34.2, or 11.x prior to 11.5.3. It is, therefore, affected by multiple vulnerabilities:

- 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. (CVE-2026-55180)

- The generic peer-suffix normalizer also stripped parenthesized text from git, URL, tarball, file, and other opaque locators. Approval for one source string could therefore authorize a different attacker-controlled source whose locator normalized to the same value. (CVE-2026-55487)

- pnpm can install configDependencies declared in pnpm-workspace.yaml before command dispatch. A repository could declare pacquet or @pnpm/pacquet as a config dependency and pnpm treated that repository-controlled dependency as an install-engine opt-in, allowing execution of arbitrary binaries.
(CVE-2026-55697)

- pnpm can persist package-manager bootstrap metadata in pnpm-lock.yaml. A malicious repository could commit package-manager lockfile package records and snapshots that bypassed fresh package-manager resolution, then cause pnpm to install and execute bytes selected by that committed lockfile state.
(CVE-2026-55698)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to pnpm version 10.34.2, 11.5.3, or later.

See Also

https://github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r

https://github.com/pnpm/pnpm/security/advisories/GHSA-5wx6-mg75-v57r

https://github.com/pnpm/pnpm/security/advisories/GHSA-gj8w-mvpf-x27x

https://github.com/pnpm/pnpm/security/advisories/GHSA-w466-c33r-3gjp

Plugin Details

Severity: High

ID: 325222

File Name: pnpm_mult_vuln_10_34_2.nasl

Version: 1.2

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 7/6/2026

Updated: 7/7/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-55697

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:pnpm:pnpm

Required KB Items: Host/nodejs/modules/enumerated

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/25/2026

Vulnerability Publication Date: 6/25/2026

Reference Information

CVE: CVE-2026-55180, CVE-2026-55487, CVE-2026-55697, CVE-2026-55698

IAVA: 2026-A-0637