# CVE-2026-85058: Moquette: Missing Authorization in io.moquette:moquette-broker

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T17:40:39.113Z
- Modified: 2026-09-24T21:25:27.050Z
- Also known as: GHSA-9jjc-fw8x-fmwx
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- moquette-io moquette: < 0.18.1
- io.moquette:moquette-broker (Maven): before 0.18.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/moquette-io/moquette/security/advisories/GHSA-9jjc-fw8x-fmwx> (exploit, web)
- <https://github.com/moquette-io/moquette/commit/e23df019f6a11e22c7d2047d4f86d07095466c97> (web)
- <https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973> (web)
- <https://github.com/moquette-io/moquette/releases/tag/v0.18.1> (web)
- <https://github.com/moquette-io/moquette> (package)

## Sources

- CVE List: [CVE-2026-85058](https://www.cve.org/CVERecord?id=CVE-2026-85058), CVE Terms of Use, modified 2026-09-22
- GitHub Advisory Database: [GHSA-9jjc-fw8x-fmwx](https://github.com/advisories/GHSA-9jjc-fw8x-fmwx), CC-BY-4.0, modified 2026-09-18
- NVD: [CVE-2026-85058](https://nvd.nist.gov/vuln/detail/CVE-2026-85058), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-85058 · Whole record: https://cve.day/CVE-2026-85058.json · Rebuilt by cve.day 2026-11-25T22:59:39.651Z
