Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect as remote gossipsub peer
-
ExploitPublish messages on __proto__ topic
-
ExecutionTrigger prototype pollution in PeerScore
-
ImpactSet inherited scoring fields to NaN process-wide
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the victim to be running @libp2p/gossipsub at or below 17.2.3 with peer scoring (PeerScore) active, and the attacker must be a connected remote gossipsub peer able to send messages on the '__proto__' topic. No authentication is required (PR:N). Limiting factors: the CVSS vector marks increased attack complexity (AC:H) and a specific attack requirement (AT:P) - the exact trigger condition behind these is not described in the available sources - and the impact is confined to limited integrity (VI:L), namely setting inherited scoring counters to NaN, with no confidentiality (VC:N) or availability (VA:N) impact claimed. |
| Impact | Signals converge on a genuine but moderate-priority issue rather than an urgent one. The CVSS 4.0 base score is 6.3 (medium) with network vector (AV:N) and no privileges required (PR:N), which sounds reachable, but this is tempered by increased attack complexity (AC:H) and a present attack requirement (AT:P), and by a narrow impact profile - only limited integrity (VI:L), with no confidentiality (VC:N) and no availability (VA:N) effect. The vuln.today decision label is 'this_month,' not act_now or emergency, consistent with that moderate profile. There is no CISA KEV listing and no EPSS score supplied in the input, so widespread or active exploitation is not indicated; exploitation status is 'no public exploit identified at time of analysis' (the supplied references are vulnerable-source-code lines and a VulnCheck advisory, not working exploit code). The practical ceiling is important: per the description the pollution sets inherited invalidMessageDeliveries/firstMessageDeliveries to NaN, i.e. it corrupts gossipsub peer-scoring arithmetic across the Node.js process - a logic/integrity degradation of the peer-scoring subsystem rather than code execution or data theft. One caveat to verify: the input Tags include 'Information Disclosure,' which conflicts with the CVSS vector's VC:N (no confidentiality impact) and the CWE-1321 integrity-oriented nature of the flaw. |
| Exploit ScenarioDerived | A remote peer connected to the victim's gossipsub mesh publishes messages (valid or invalid) on the special '__proto__' topic. The PeerScore logic uses that topic string as a property key, so processing the message walks into Object.prototype and sets inherited invalidMessageDeliveries or firstMessageDeliveries to NaN, corrupting peer-scoring state process-wide. No confirmed working exploit code is published; the available references show the vulnerable source and a vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Prototype pollution in @libp2p/gossipsub's PeerScore component (versions through 17.2.3) allows a connected remote gossipsub peer to corrupt Object.prototype for the entire victim Node.js process by sending messages on the specially named '__proto__' topic, which drives inherited invalidMessageDeliveries or firstMessageDeliveries counters to NaN. The victim must be running gossipsub with peer scoring (PeerScore) active and must be connected to the attacker as a gossipsub peer; no authentication is required per the assessed vector, although attack complexity is rated high and a specific attack prerequisite is flagged whose exact trigger is not described in the available sources. Impact is confined to limited integrity of scoring state (VI:L) with no confidentiality or availability impact claimed; no public exploit was identified at time of analysis, the issue is not in CISA KEV, and it carries a this_month priority label.
RemediationAI
No vendor-released patch or fixed version is identified in the available data, and the only upstream references point at the vulnerable gossipsub-v17.2.3 tree, so verify the project's release feed at https://github.com/libp2p/js-libp2p before assuming a fix exists, and review https://www.vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-prototype-pollution-via-proto-topic-in-peer-scoring for updates. Because the flaw is only reachable when PeerScore is active and the attacker is a connected remote gossipsub peer able to publish on the '__proto__' topic, the practical compensating controls follow from those two preconditions. Disabling peer scoring removes the vulnerable scoring path entirely, at the cost of losing the delivery-threshold, graylisting and pruning behaviour that PeerScore provides against spam and misbehaving peers. Alternatively, constrain who can become a gossipsub peer - private/swarm-key-gated networks, explicit peer allowlists, or strict connection and topic admission limits - which narrows the set of parties able to publish on the abusive topic, though any peer still admitted retains the capability and the trade-off is reduced openness of the network. Adding an application-level guard that rejects subscriptions or messages whose topic equals '__proto__', 'constructor' or 'prototype' can block this specific payload shape, but it is a per-deployment stopgap that must be maintained as new pollution keys are discovered and does not repair the underlying key-handling flaw in peer-score.ts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libp2p is a modular peer-to-peer networking stack, and gossipsub is its pub/sub message-routing protocol in which peers subscribe to named topics and relay messages. PeerScore is the reputation subsystem that tracks per-peer behaviour - including delivery counters such as firstMessageDeliveries and invalidMessageDeliveries - to graylist or prune misbehaving peers. This issue is CWE-1321 (improperly controlled modification of object prototype attributes), rooted in the way peer-score.ts at the referenced gossipsub-v17.2.3 revision (lines 457-465 and 540-546) keys score bookkeeping by attacker-influenced topic strings: a message on the topic named '__proto__' is handled as a property assignment rather than an isolated data key, so the write lands on Object.prototype instead of a bounded per-topic record. Because Node.js objects inherit from Object.prototype process-wide, the resulting NaN values in firstMessageDeliveries or invalidMessageDeliveries become visible to every object in the runtime that lacks its own shadowing property, potentially distorting score calculations far beyond the offending peer. The affected technology is JavaScript/TypeScript running on Node.js; the CPE cpe:2.3:a:libp2p:@libp2p/gossipsub:*:*:*:*:*:*:*:* matches all versions through 17.2.3 per EUVD. The trigger mechanics behind the high attack complexity and attack prerequisite ratings in the CVSS vector are not described in the available sources.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remotely reachable by an unauthenticated mesh peer (AV:N/PR:N) but with added complexity (AC:H); impact limited to integrity of peer-scoring state (I:L), no confidentiality or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
@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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-141616
GHSA-x74h-pmq5-pcjm
NVD
CVE.org
Exploit-DB