CVE-2026-95843

8.7

moquette-io · moquette

A denial of service vulnerability exists in the Moquette MQTT broker due to improper input validation of shared subscription filters, allowing remote unauthenticated attackers to crash session loops.

Executive summary

A critical denial of service vulnerability in the Moquette MQTT broker allows unauthenticated remote attackers to disrupt service for multiple clients by sending malformed subscription filters.

Vulnerability

The vulnerability is caused by improper input validation within the PostOffice.subscribe function. An unauthenticated remote attacker can supply a specifically crafted shared subscription filter that lacks a required topic-filter portion, triggering a StringIndexOutOfBoundsException that crashes the shared session event loop.

Business impact

The successful exploitation of this vulnerability results in a denial of service for all client sessions associated with the affected event loop, directly impacting system availability and messaging reliability. With a CVSS score of 8.7, this represents a high-severity risk that could lead to significant operational disruption in environments relying on the Moquette broker for critical communication.

Remediation

Immediate Action: Update the Moquette broker to version 0.18.1 or later immediately to incorporate the necessary input validation fix.

Proactive Monitoring: Monitor broker logs for repeated StringIndexOutOfBoundsException errors or sudden, unexplained drops in connected MQTT client sessions.

Compensating Controls: Deploy a network-level filter or Web Application Firewall that can inspect MQTT traffic for malformed $share subscription patterns until the patch is deployed.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the ease with which an unauthenticated attacker can disrupt service, organizations should prioritize upgrading to version 0.18.1. The potential for widespread service interruption across shared session loops makes this a high-priority task for all IT administrators managing Moquette deployments.

More moquette-io CVEs

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief high section

Sources