Auth bypass in Moquette-Io Moquette

CVE-2026-85058

Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, PostOffice.publishWill publishes a client-controlled Last Will message through publish2Subscribers without invoking the authorizator.canWrite check used by normal PUBLISH paths. When anonymous access is enabled and topic ACLs restrict writes, a remote client can set an ACL-protected topic as the Last Will Topic during CONNECT and perform an abnormal client disconnect, causing the broker to inject attacker-controlled messages into a topic for which the client lacks write permission. This issue is fixed in version 0.18.1.

Vulnerability class: Broken Access Control

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-85058?
CVE-2026-85058 is a high-severity vulnerability in Moquette-Io Moquette, classified under Missing Authorization. CVSS score: 7.5/10. Published 2026-09-18.
How severe is CVE-2026-85058?
High severity. CVSS v3 base score is 7.5 out of 10.