{"id":"CVE-2026-85058","title":"Moquette is a lightweight Java MQTT broker","summary":"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…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","cwe":["CWE-862"],"vendor":"moquette","product":"io.moquette:moquette-broker","affected":["io.moquette:moquette-broker < 0.18.1"],"patched":["io.moquette:moquette-broker 0.18.1"],"published":"2026-09-18","updated":"2026-09-22","sourceUpdated":"2026-09-22T16:18:04.153","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-85058","references":[{"url":"https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97","label":"security-advisories@github.com"},{"url":"https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973","label":"security-advisories@github.com"},{"url":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","label":"security-advisories@github.com"},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","label":"security-advisories@github.com"},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/advisories/GHSA-9jjc-fw8x-fmwx"}],"tags":["nvd","ghsa","maven","cve.org","exploit-available"],"epss":0.0027,"epssPercentile":0.19483,"aliases":["GHSA-9jjc-fw8x-fmwx"],"ecosystem":"maven","exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-22T15:13:17.846630Z"},"ingestedAt":"2026-09-18T17:46:41.535Z","slug":"CVE-2026-85058","body":"## Overview\n\nMoquette 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-85058)\n\nAffected packages:\n\n- `io.moquette:moquette-broker < 0.18.1`\n\nPatched in:\n\n- `io.moquette:moquette-broker 0.18.1`\n\nSource: https://github.com/advisories/GHSA-9jjc-fw8x-fmwx","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":209165,"id":"CVE-2026-85058","ts":1790093217387,"field":"exploit_available","old":"false","new":"true"}]}