Authentication Bypass in Moquette MQTT Broker Versions Affected
CVE-2026-85058

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
18 September 2026

What is CVE-2026-85058?

Moquette, a lightweight Java MQTT broker, has a vulnerability in prior versions to 0.18.1 where the PostOffice.publishWill method can lead to unauthorized message publishing. This occurs as the method publishes client-controlled Last Will messages without running necessary authorization checks. If anonymous access is enabled and topic Access Control Lists (ACLs) are set, a malicious remote client could define an ACL-protected topic as their Last Will message and subsequently use abnormal disconnections to inject malicious messages. This flaw compromises message integrity and security, allowing potential exploitation of systems dependent on the MQTT protocol.

Affected Version(s)

moquette < 0.18.1

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.