Vulnerability · Published Sep 23, 2026 · Assigned by GitHub_M
CVE-2026-95846Moquette publishes Last-Will messages without enforcing write authorization
High 8.7
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.3% (higher than 25% 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's Last-Will message without applying the canWrite authorization and reserved-topic checks used for a normal PUBLISH. A client can configure a Will for a topic that the client is not permitted to write and cause the broker to publish the unauthorized message when the client disconnects unexpectedly. This issue allows unauthorized message injection into restricted topics. 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-5f42-97gr-vfhq |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moquette-io | moquette | < 0.18.1 |
Weakness: CWE-862 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N