All vulnerabilities

npm

CVE-2026-142214

@libp2p/gossipsub through 17.2.3 Prototype Pollution via __proto__ Topic in Peer Scoring

Severity
Medium 6.3
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Prototype pollution (CWE-1321)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
@libp2p/gossipsubnpm · osv:npm:@libp2p/gossipsub
  • Every version up to 17.2.3

About @libp2p/gossipsub

Weekly downloads (npm)
33,579npm, 1 Dec 2026

Vulnerabilities in @libp2p/gossipsub

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for @libp2p/gossipsub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142214