Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Mosquitto websockets listener
-
DeliverySend crafted websockets frame
-
ExploitTrigger flaw in built-in frame handling
-
ExecutionAchieve pre-auth code execution
-
ImpactCompromise broker process and MQTT data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Exploitation requires that the broker (1) runs an affected version, Mosquitto 2.1.0 through 2.1.2 inclusive, (2) has a websockets listener configured and reachable, and (3) was compiled using Mosquitto's built-in websockets implementation rather than libwebsockets. The flaw is reachable pre-authentication, so no MQTT credentials are needed once those conditions hold. Limiting factors that reduce real-world exposure: deployments on the 2.0.x branch are unaffected, brokers compiled with libwebsockets support are unaffected, and brokers that do not enable websockets listeners are not exposed - these are the exact mitigations the vendor lists alongside upgrading to 2.1.4. |
| Impact | This is a high-priority vulnerability on technical merit: the Eclipse Mosquitto GHSA advisory describes pre-authentication remote code execution via mishandling of websockets frames, which is the most severe class of network-exposed flaw. However, the quantitative risk signals are entirely absent - no NVD CVSS vector, no EPSS exploitation probability, no SSVC automatable/technical-impact metrics, and the vuln.today Decision label is 'awaiting_data' rather than act_now/emergency. CISA KEV status is not listed and no proof-of-concept is referenced, so there is no evidence of active exploitation. The real-world risk is materially narrowed by a configuration prerequisite: only the built-in websockets implementation is affected, so deployments compiled against libwebsockets or not using websockets listeners are not exposed, and the vulnerable code only exists in the newer 2.1.0-2.1.2 branch rather than the widely deployed 2.0.x line. Net: treat as a serious pre-auth RCE for the specific affected configuration, but note that severity rating is vendor-assigned 'critical' with no independent CVSS or exploitation telemetry yet available - several key scoring and exploitation signals are missing and should be revisited as data lands. |
| Exploit ScenarioDerived | A remote attacker with network reach to a Mosquitto 2.1.0-2.1.2 broker that exposes a websockets listener built with the internal (non-libwebsockets) implementation sends a crafted/malformed websockets frame to the listener. Because the flaw is triggered before authentication, the attacker needs no credentials, and successful exploitation yields code execution in the broker process. No public proof-of-concept or exploit code is referenced in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Pre-authentication remote code execution affects Eclipse Mosquitto 2.1.0 through 2.1.2 when a websockets listener is enabled and the broker is compiled with the built-in websockets implementation; crafted websocket frames can lead to code execution without MQTT credentials. The vendor directs users to upgrade to 2.1.4 and notes that the 2.0.x branch, brokers compiled with libwebsockets, and brokers without websockets listeners are not exposed. No public exploit code has been identified at time of analysis, and CISA KEV does not list this issue.
RemediationAI
Vendor-released patch: 2.1.4. Upgrade Eclipse Mosquitto to 2.1.4 to address the built-in websockets frame-handling flaw, as recommended in the vendor advisory at https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38 and the oss-security post at https://seclists.org/oss-sec/2026/q4/740 . If upgrading immediately is not possible, the vendor-listed mitigations are to stop using websockets listeners, which removes the websocket transport exposure at the cost of losing that access path, or to compile with libwebsockets support, which replaces the built-in implementation and adds that build dependency as an operational change.
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
The affected component is the MQTT broker's built-in WebSocket transport. WebSocket listeners let MQTT clients connect over HTTP-upgraded WebSocket connections; when Mosquitto uses its built-in WebSocket implementation rather than libwebsockets, mishandling of WebSocket frames can lead to remote code execution before MQTT authentication occurs. The available sources do not describe the exact frame-handling defect beyond that mishandling, and no CWE is assigned in the input. The assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H reflects network reachability with no authentication or user interaction prerequisite and high impact to confidentiality, integrity, and availability. Deployments using libwebsockets instead of the built-in implementation, the 2.0.x branch, and brokers without WebSocket listeners are outside the affected configuration. No CPE strings were supplied.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor states pre-authentication remote code execution over a network-exposed websockets listener, so AV:N/PR:N/UI:N with full C/I/A impact; the built-in-websockets requirement is a deployment condition, not a base-metric penalty.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Description PRE-NVD
Technical POC Analysis
The flaw is an integer underflow/wraparound (CWE-191) in the broker’s built-in WebSocket frame reader, leading to CWE-908 uninitialized-resource use and CWE-787 out-of-bounds write.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical pre-authentication remote code execution vulnerability in Eclipse Mosquitto versions 2.1.0 through 2.1.2 poses a severe risk to any organization using the affected broker with a built-in websockets listener. Because exploitation requires no credentials, an attacker with network access could compromise the broker and potentially pivot to other systems, affecting overall service availability and data integrity. Leadership should prioritize immediate upgrade to version 2.1.4 and verify exposure across all Mosquitto deployments.
Apply vendor patch. Until patching is complete, restrict network access to websockets listener ports using firewalls or security groups, and consider disabling websockets listeners if not essential.
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
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-128524
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB