CVE-2026-95847

8.8

moquette-io · moquette

A resource injection vulnerability in the Moquette MQTT broker allows message map collisions, leading to data corruption and unauthorized message exposure between sessions.

Executive summary

A high-severity resource injection vulnerability in the Moquette MQTT broker allows unauthenticated attackers to cause data corruption and unauthorized message exposure.

Vulnerability

The vulnerability stems from improper control of resource identifiers within the H2PersistentQueue component. By crafting a client ID that ends in _meta, an unauthenticated attacker can force a collision between a session message map and a metadata map, leading to data corruption and potential message misdelivery or exposure.

Business impact

Successful exploitation of this flaw can result in severe data integrity issues and the unauthorized exposure of sensitive MQTT messages across client sessions. Given the CVSS score of 8.8, this vulnerability poses a significant risk to the confidentiality and integrity of communications handled by the broker, potentially leading to operational disruption or the compromise of sensitive data streams in production environments.

Remediation

Immediate Action: Update the Moquette broker to version 0.18.1 or later to resolve the resource naming collision issue.

Proactive Monitoring: Monitor server logs for unusual client ID patterns or frequent session reloads that may indicate attempts to trigger map collisions.

Compensating Controls: If immediate patching is not feasible, restrict access to the MQTT broker to trusted clients via network-level firewalls or mutual TLS authentication to limit the ability of unauthorized parties to connect and inject malicious client IDs.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

The severity of this vulnerability, combined with the potential for cross-session data corruption, necessitates prompt action. Administrators should prioritize upgrading to version 0.18.1 to eliminate the underlying logic error. Failure to update the software leaves the messaging infrastructure susceptible to exploitation that could compromise the integrity of all processed data.

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