{"id":"CVE-2026-85058","published":"2026-09-18T18:17:17.447","lastModified":"2026-09-24T21:25:27.050","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","cwes":["CWE-862"],"vendors":[],"products":[],"references":[{"url":"https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97","tags":[]},{"url":"https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973","tags":[]},{"url":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","tags":[]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","tags":[]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","tags":[]}],"exploitRefs":[{"url":"https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97","tags":[]},{"url":"https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973","tags":[]},{"url":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","tags":[]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","tags":[]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","tags":[]}],"hasPoc":true,"ai":null}