Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Moquette | Moquette | < 0.18.1 |
Related Weaknesses (CWE)
References
- https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ecPatch
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1Release Notes
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhqExploitMitigationVendor Advisory
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhqExploitMitigationVendor Advisory
FAQ
What is CVE-2026-95846?
CVE-2026-95846 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 fo...
How severe is CVE-2026-95846?
CVE-2026-95846 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-95846?
Check the references section above for vendor advisories and patch information. Affected products include: Moquette Moquette.