Vulnerability · Published Sep 18, 2026 · Assigned by GitHub_M
CVE-2026-85058Moquette: Missing Authorization in io.moquette:moquette-broker
High 7.5
In plain English
A high-severity missing authorization in moquette from moquette-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.moquette:moquette-broker | 0.18.1 | GHSA-9jjc-fw8x-fmwx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moquette-io | moquette | < 0.18.1 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx x_refsource_CONFIRM
- https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97 x_refsource_MISC
- https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973 x_refsource_MISC
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1 x_refsource_MISC