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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-862 — CWE-862: Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| moquette-io | moquette | < 0.18.1 |
References
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq (x_refsource_CONFIRM)
- 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)
Generated from the official CVE List on 24 Sep 2026 07:02 UTC.