Description
pnpm is a package manager. Prior to 10.34.2 and 11.5.3, 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. This vulnerability is fixed in 10.34.2 and 11.5.3.
Published: 2026-06-25
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

pnpm versions before 10.34.2 on the 10.x series and before 11.5.3 on the 11.x series contain a flaw in the peer‑suffix normalization routine that removes parenthesized text from git, URL, tarball, file, and other opaque locators. This behavior allows a crafted source string to normalize to the same value as an already approved source, effectively spoofing a trusted dependency. The poisoned dependency can then be fetched and executed during a pnpm installation, giving an attacker the ability to run arbitrary code on a system that trusts pnpm.

Affected Systems

All installations of pnpm older than 10.34.2 or 11.5.3, including developers’ local environments and continuous‑integration pipelines that resolve dependencies with these versions, are affected. Any party that can influence a package.json or lockfile that pnpm processes runs the risk of inadvertently installing a malicious source.

Risk and Exploitability

The severity of this vulnerability is indicated by a CVSS score of 7.5, a moderate‑to‑high score that represents a significant threat. The EPSS value of <1% shows that exploitation is unlikely but not impossible, and the vulnerability is not currently listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker who can alter a dependency specification—such as by modifying a package.json file, a lockfile, or by publishing a new package that pnpm will resolve—can supply a crafted source that bypasses approval checks. If the attacker controls the publishing of a package that vulnerable pnpm installations will resolve, remote delivery of malicious code is plausible.

Generated by OpenCVE AI on July 14, 2026 at 01:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to pnpm version 10.34.2 or later, or to 11.5.3 or later, to apply the corrected normalisation logic.
  • If an upgrade cannot be performed immediately, limit pnpm to approved registries and disable "allowBuilds" during dependency resolution to block installation of untrusted source code.
  • Audit existing lockfiles and dependency manifests for suspicious or mismatched source URLs, and enforce source‑integrity checks before installation proceeds.

Generated by OpenCVE AI on July 14, 2026 at 01:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5wx6-mg75-v57r pnpm: Manifest identity spoof satisfies allowBuilds and runs attacker lifecycle
History

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-140
References
Metrics threat_severity

None

threat_severity

Important


Thu, 25 Jun 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Pnpm
Pnpm pnpm
Vendors & Products Pnpm
Pnpm pnpm

Thu, 25 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 25 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Description pnpm is a package manager. Prior to 10.34.2 and 11.5.3, 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. This vulnerability is fixed in 10.34.2 and 11.5.3.
Title pnpm: manifest identity spoof satisfies allowBuilds and runs attacker lifecycle
Weaknesses CWE-346
CWE-693
CWE-829
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-25T18:03:06.773Z

Reserved: 2026-06-16T22:28:27.061Z

Link: CVE-2026-55487

cve-icon Vulnrichment

Updated: 2026-06-25T18:02:33.707Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-25T16:41:12Z

Links: CVE-2026-55487 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-14T01:45:03Z

Weaknesses
  • CWE-140

    Improper Neutralization of Delimiters

  • CWE-346

    Origin Validation Error

  • CWE-693

    Protection Mechanism Failure

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere