CVE-2026-142214
LowCVSS 3.7Exploitation Probability (EPSS)
Low risk46th percentile - higher than 46% of all known CVEs
Summary
@libp2p/gossipsub through 17.2.3 contains a prototype pollution vulnerability in PeerScore that allows remote gossipsub peers to modify Object.prototype by sending messages on the __proto__ topic. Attackers can send invalid or valid messages on that topic to set inherited invalidMessageDeliveries or firstMessageDeliveries properties to NaN across the victim Node.js process.
Risk Assessment
A remote peer can pollute the prototype in the Node.js process, potentially disrupting scoring logic and causing unpredictable application behavior. This may lead to errors, security bypasses, or denial of service.
Recommendation
Update @libp2p/gossipsub to a version later than 17.2.3 if available, or apply the vendor patch. Monitor unusual peer behavior and consider filtering messages on the __proto__ topic.
Other vulnerabilities in @libp2p/gossipsub
See all- CVE-2026-142215Medium
@libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics registry by sending messages with arbitrary topics when metrics are enabled. Attackers can send messages with unbounded distinct topic strings, creating never-removed labelled time series before validation, to exhaust Node.js process memory.
- CVE-2026-119793High
In @libp2p/gossipsub prior to 17.0.0, the default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. A single peer can grow the topics map and committed heap toward out-of-memory conditions, and disconnecting causes removePeer to scan all accumulated topic entries.
- CVE-2026-86038High
libp2p is a JavaScript implementation of the libp2p networking stack. From 15.0.0 until 16.0.5, @libp2p/gossipsub uses the default StrictSign policy in packages/gossipsub/src/utils/buildRawMessage.ts, where validateToRawMessage verifies a signature with attacker-controlled msg.key but skips binding that key to msg.from when the claimed author is an RSA peer ID that does not inline a public key. An unauthenticated attacker can place a victim RSA peer ID in msg.from, sign the message with the attacker's private key, and supply the attacker's public key in msg.key, causing the message to be accepted and propagated as authored by the victim. Applications that trust message.from for validators, authorization, accounting, moderation, reputation, or audit logging can process attacker-controlled data under false origin attribution. The issue is fixed in version 16.0.5.
- CVE-2026-46679High
libp2p (JavaScript Implementation) prior to version 15.0.23 has a vulnerability in @libp2p/gossipsub that allows a single unauthenticated peer to exhaust the Node.js heap of a gossipsub node with default options.
Original NVD description (English source)
@libp2p/gossipsub through 17.2.3 contains a prototype pollution vulnerability in PeerScore that allows remote gossipsub peers to modify Object.prototype by sending messages on the __proto__ topic. Attackers can send invalid or valid messages on that topic to set inherited invalidMessageDeliveries or firstMessageDeliveries properties to NaN across the victim Node.js process.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

