Unauthorized Message Injection in Moquette MQTT Broker
CVE-2026-95846
8.7HIGH
What is CVE-2026-95846?
The Moquette MQTT Broker is affected by a vulnerability where the PostOffice.publishWill method fails to enforce proper authorization checks. Prior to version 0.18.1, this allowed clients to publish Last-Will messages to topics for which they lacked write permissions. As a consequence, an attacker could exploit this oversight to inject unauthorized messages upon unexpected client disconnection, potentially breaching the intended access controls and compromising the integrity of restricted topics. This issue has been resolved in version 0.18.1, making it imperative for users to upgrade to ensure secure operations.
Affected Version(s)
moquette < 0.18.1
