CVE-2026-142214: @libp2p/gossipsub through 17.2.3 Prototype Pollution via __proto__ Topic in Peer Scoring
@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.
Affected Software
Event History
Frequently Asked Questions
Which versions should be considered affected?
The issue affects @libp2p/gossipsub versions through 17.2.3. No fixed version is identified in the provided data.
What does an attacker need to do to trigger the issue?
An attacker must be able to act as a remote gossipsub peer and send a message on the __proto__ topic. Both valid and invalid messages can be used.
Is the impact limited to the peer connection that receives the message?
No. The pollution modifies Object.prototype, causing inherited invalidMessageDeliveries or firstMessageDeliveries properties to become NaN across the victim Node.js process.