pnpm: manifest identity spoof satisfies allowBuilds and runs attacker lifecycle (CVE-2026-55487)
Description
A vulnerability in pnpm package manager prior to versions 10.34.2 and 11.5.3 allows an attacker to spoof manifest identity by exploiting the generic peer-suffix normalizer. This flaw enables approval of one source string to authorize a different attacker-controlled source with a normalized locator value, potentially leading to execution of attacker lifecycle scripts. The issue is fixed in versions 10.34.2 and 11.5.3.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
pnpm versions before 10.34.2 and 11.5.3 contain a vulnerability where the generic peer-suffix normalizer strips parenthesized text from various locator types (git, URL, tarball, file, etc.). This normalization causes different source locators to appear identical, allowing an attacker to spoof manifest identity. Consequently, approval for one source string could authorize a malicious source whose locator normalizes to the same value, enabling execution of attacker-controlled lifecycle scripts. The vulnerability is addressed by fixes in pnpm versions 10.34.2 and 11.5.3.
Potential Impact
An attacker can exploit this vulnerability to bypass source approval mechanisms by spoofing manifest identities, potentially causing pnpm to run attacker-controlled lifecycle scripts. This can lead to full compromise of the build process, affecting confidentiality, integrity, and availability of the system using pnpm.
Mitigation Recommendations
Upgrade pnpm to version 10.34.2 or later, or 11.5.3 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-pnpm-CVE-2026-55487
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac2c0ae2cdf04f656523452
Added to database: 10/04/2026, 21:10:06 UTC
Last enriched: 10/04/2026, 21:16:28 UTC
Last updated: 10/05/2026, 06:48:17 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.