Skip to content

CVE-2026-95846 Moquette publishes Last-Will messages without enforcing write authorization

HighCVSS 8.7 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
moquette < 0.18.1 0.18.1 Fixed
moquette-io moquette = < 0.18.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
moquette-io moquette = < 0.18.1 No fix listed
moquette < 0.18.1 0.18.1

References