{"id":"CVE-2026-85058","state":"PUBLISHED","title":"Moquette: Missing Authorization in io.moquette:moquette-broker","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.","publishedAt":"2026-09-18T17:40:39.113Z","updatedAt":"2026-09-22T15:14:00.736Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["moquette-io moquette"],"affected":[{"vendor":"moquette-io","product":"moquette","versions":[{"version":"< 0.18.1","status":"affected"}]}],"references":["https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97","https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973","https://github.com/moquette-io/moquette/releases/tag/v0.18.1"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85058.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85058","state":"PUBLISHED","datePublished":"2026-09-18T17:40:39.113Z","dateUpdated":"2026-09-22T15:14:00.736Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-02T21:21:01.774Z"},"containers":{"cna":{"title":"Moquette: Missing Authorization in io.moquette:moquette-broker","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"moquette-io","product":"moquette","versions":[{"version":"< 0.18.1","status":"affected"}]}],"references":[{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","name":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97","name":"https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97","tags":["x_refsource_MISC"]},{"url":"https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973","name":"https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973","tags":["x_refsource_MISC"]},{"url":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","name":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-18T17:40:39.113Z"},"source":{"advisory":"GHSA-9jjc-fw8x-fmwx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T15:13:17.846630Z","id":"CVE-2026-85058","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T15:14:00.736Z"}}]}}}