AploSec / Disclosures / CVE-2026-142214

Medium 6.3ReportedNo fix listedCWE-1321npm

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

CVE-2026-142214 · published 2026-12-02

In plain words: this type of bug lets someone change parts of the application's data they should not be able to set (prototype pollution or mass assignment). No fixed release is listed yet.

Summary

CVE-2026-142214 affects @libp2p/gossipsub (npm) <= 17.2.3: Prototype Pollution via __proto__ Topic in Peer Scoring (CWE-1321). No fixed release is listed. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

@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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
Medium 6.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
@libp2p/gossipsub
Ecosystem
npm
Affected
<= 17.2.3
Fixed
None
Weakness
CWE-1321
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder