Skip to main content
← All vulnerabilities
CVE-2026-95846GHSA-5F42-97GR-VFHQ

Moquette publishes Last-Will messages without enforcing write authorization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.18.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • moquette-io moquette

    fixed in 0.18.1

  • io.moquette:moquette-brokerMaven

    fixed in 0.18.1

References 3

GitHub · moquette-io/moquette