Skip to main content

Eclipse Mosquitto CVE-2026-126706

| EUVDEUVD-2026-128525 HIGH
Improper Input Validation (CWE-20)
2026-11-17
7.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure operator to hostile broker
  2. Exploit
    Operator runs mosquitto_ctrl
  3. Execution
    Broker returns non-string "error" field
  4. Impact
    NULL-pointer dereference crashes utility

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires running the mosquitto_ctrl administrative utility (versions 2.1.0-2.1.2) and connecting it to an attacker-controlled, malicious, or impersonated MQTT broker; that broker must then return a $CONTROL reply containing an "error" field whose value is a non-string JSON type, triggering the NULL-pointer dereference. Limiting factors: the attacker must control or impersonate the broker the operator chooses to interact with (the vulnerable party is a client-side admin tool, not a listening server), so this is not remote-unauthenticated exploitation of a default broker deployment; impact is confined to a crash of the transient CLI utility with no code execution, no confidentiality/integrity effect, and no broker service disruption. Updating to 2.1.3 is the fix.

Impact

The headline CVSS 7.5 is driven entirely by the A:H availability metric, but the signals conflict with that severity. The flaw is a client-side denial of service in the mosquitto_ctrl administrative CLI (CWE-476 NULL-pointer dereference per the Eclipse GHSA advisory; NVD lists only CWE-20), triggered when the utility interacts with a hostile broker that returns a non-string "error" value. The CVSS vector reads AV:N/AC:L/PR:N/UI:N, yet the description makes clear exploitation requires an operator to point mosquitto_ctrl at an attacker-controlled or impersonated broker - a precondition the base vector does not capture and which sharply limits real-world exposure. Supporting signals are low: EPSS is 0.21% (11th percentile), there is no CISA KEV listing, and no public exploit is identified; the vuln.today decision label is only this_week, not act_now/emergency. The impact is also narrow - only a transient command-line utility crashes, with no confidentiality/integrity effect and no code execution - so A:H arguably overstates the real severity. Net: a low-priority, limited-scope DoS rather than a widespread high-risk issue; patch on a normal maintenance cadence to 2.1.3.

Exploit ScenarioDerived

An attacker who controls or impersonates an MQTT broker waits for an administrator to run mosquitto_ctrl (versions 2.1.0-2.1.2) against it. The broker replies to a $CONTROL request with an "error" field set to a non-string JSON value, triggering a NULL-pointer dereference that crashes the utility. Impact is limited to the client tool - no code execution and no broker/server compromise - and no public exploit is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 19, 2026

The mosquitto_ctrl administrative CLI shipped with Eclipse Mosquitto 2.1.0 through 2.1.2 crashes when it connects to a hostile or impersonated MQTT broker that answers a $CONTROL request with an "error" field carrying a non-string JSON value, producing a NULL-pointer dereference (CWE-20 / CWE-476). The published CVSS 7.5 score is driven entirely by an A:H availability metric, but the assessed vector (UI:R, A:L) reflects the real prerequisites: the operator must deliberately run the tool against an attacker-controlled broker, the vulnerable component is a client-side utility rather than a listening server, and the outcome is a crash of that transient process with no code execution, no confidentiality or integrity effect, and no disruption of the broker service itself. EPSS is 0.21% (11th percentile), there is no CISA KEV listing, and no public exploit has been identified at time of analysis; the priority label is this_week and the fix is the 2.1.3 release.

Earlier versions of this analysis (1)
v1 Nov 18, 2026 - 04:44

Crash of the Eclipse Mosquitto mosquitto_ctrl administrative utility, as shipped in releases 2.1.0 through 2.1.2, occurs when an operator uses it to connect to an attacker-controlled MQTT broker that supplies a non-string value in an 'error' field of its response. The defect is client-side only: the broker service and other MQTT clients are unaffected, and triggering it requires the victim to actively initiate a session against a hostile broker, which is why the vendor advises connecting only to trusted brokers. Severity is assessed as low (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L), no public exploit code or active exploitation was identified at time of analysis, and the project has published a GitHub security advisory (GHSA-c9wr-998w-8wf5).

RemediationAI

Vendor-released patch: Eclipse Mosquitto 2.1.3. Upgrade any installation on the 2.1.0-2.1.2 branch to 2.1.3, as directed by the upstream advisory GHSA-c9wr-998w-8wf5 (https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-c9wr-998w-8wf5); because the defect lives in the mosquitto_ctrl client binary, updating that utility's package is what removes the exposure, and no broker configuration change substitutes for it. Until the update is deployed, restrict use of mosquitto_ctrl to brokers you control or whose authenticity you have verified - the crash can only be provoked by a broker that is malicious or impersonated, so discontinuing administrative use of the tool against untrusted endpoints, or brokering those connections through a pinned/verified TLS endpoint, removes the trigger; the trade-off is that operators lose the convenience of ad-hoc control operations against external brokers and must rely on trusted administrative paths. Note that the failure mode is a transient crash of the CLI process, so a restart of the utility is sufficient recovery, but it will recur on each hostile reply until 2.1.3 is installed.

Affected VersionsENISA

Eclipse Mosquitto 2.1.0 ≤2.1.2

Affected Packages

euvd eclipse_mosquitto no fix

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

Mosquitto implements the MQTT publish/subscribe protocol, and mosquitto_ctrl is a command-line administration client that issues control requests to a broker and parses the JSON reply. The root cause is improper validation of input (CWE-20) that leads to a NULL-pointer dereference (CWE-476): the tool expects the "error" member of a $CONTROL response to be a JSON string, and when the peer instead supplies a value of a different JSON type the parsing path dereferences a pointer that was never populated and the process aborts. Because the trust boundary is inverted - the malicious party is the broker, not a client - the attack surface is limited to a user-initiated connection from an administrative CLI, and any code following the crash-prone parse is unreachable once the utility terminates. The affected artifact is the mosquitto_ctrl binary in Mosquitto 2.1.0-2.1.2 (EUVD lists the same range); the condition was corrected in 2.1.3.

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

Vendor (CNA) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.3 MEDIUM

Requires an operator to run mosquitto_ctrl against an attacker-controlled broker (UI:R); only the transient client utility crashes with no server impact, so A:L not A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 4.3 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Analysis Updated
Nov 19, 2026 - 22:36 vuln.today
v2 - CVSS changed
CVSS changed
Nov 19, 2026 - 22:22 NVD
7.5 (HIGH)
CVE Published
Nov 17, 2026 - 17:41 oss-security
HIGH

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Technical POC Analysis

The bug is improper input validation (CWE-20) that results in a NULL-pointer dereference (CWE-476).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Eclipse Mosquitto versions 2.1.0 through 2.1.2 contain a high-severity vulnerability in the mosquitto_ctrl administrative CLI that can cause a crash when connecting to a malicious broker. This affects only operators who manually run the tool against a hostile broker, resulting in a local denial-of-service without compromising the broker service, data confidentiality, or integrity. Leadership should care because it could disrupt administrative workflows, but the risk is limited to specific user actions and the vendor has released a fix.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
Eclipse Mosquitto is a widely used MQTT broker, but only recent 2.1.0-2.1.2 releases are affected
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy