CVE-2026-126706

Description

A flaw was found in Eclipse Mosquitto. A malicious message broker can cause a denial of service (DoS) by triggering an application crash in the mosquitto_ctrl utility. When interacting with an untrusted broker that returns an unexpected non-string error value, the utility fails to process the response safely and terminates abruptly.

Statement

This vulnerability is rated as Moderate severity because exploitation is limited to terminating an administrative command-line session and does not impact the central Mosquitto message broker or compromise system data. Under typical deployments, mosquitto_ctrl is an ephemeral management tool invoked interactively by administrators rather than an automated, persistent daemon. Triggering the crash requires an administrator to explicitly direct the utility toward an untrusted or adversarial endpoint that returns an unexpected response structure. Consequently, the blast radius is confined to the specific client invocation, leaving running broker instances and broader system availability intact.

Mitigation

Restrict `mosquitto_ctrl` administrative operations to trusted broker endpoints or the local loopback interface (`localhost` / `127.0.0.1`). Avoid directing the utility toward unknown or untrusted external MQTT brokers. If necessary, configure network egress firewall rules on the management host to limit outbound connections on MQTT broker management ports exclusively to authorized internal servers.

Caveats: This operational control restricts remote administration workflows and prevents interacting with brokers hosted outside trusted network boundaries.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.3N/A7.5
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionRequiredN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactLowN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Other

Technical Impact: Varies by Context

When input does not comply with the expected type, attackers could trigger unexpected errors, cause incorrect actions to take place, or exploit latent vulnerabilities that would not be possible if the input conformed with the expected type.

Frequently Asked Questions

Want to get errata notifications? Sign up here.