CVE-2026-142214
Description
@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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/score/peer-score.ts#L457-L465
- https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/score/peer-score.ts#L540-L546
- https://www.vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-prototype-pollution-via-proto-topic-in-peer-scoring
CWEs
CWE-1321
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.