CVE-2026-142214: @libp2p/gossipsub through 17.2.3 Prototype Pollution via __proto__ Topic in Peer Scoring

Published Dec 2, 2026
·
Updated

@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

1 affected component
npm/@libp2p/gossipsub<=17.2.3

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203