Home › CVE › JavaScript
CVE-2026-142214 — libp2p @libp2p/gossipsub
One of 2 libp2p @libp2p/gossipsub vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
@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.
Severity breakdown
Medium · 6.3
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- low on integrity, none on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| libp2p @libp2p/gossipsub | ≤ 17.2.3 | — |
References by type
Other references
Affected
- libp2p @libp2p/gossipsub
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142214?
@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. Weakness type: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CWE-1321).
How severe is CVE-2026-142214?
CVE-2026-142214 has a CVSS 4.0 base score of 6.3 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142214 being exploited?
Not as far as is known: CVE-2026-142214 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142214?
libp2p @libp2p/gossipsub ≤ 17.2.3.
How do I fix CVE-2026-142214?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.