Skip to content

CVE-2026-95847 Moquette client IDs can cause cross-session H2 durable-queue corruption

HighCVSS 8.8 EPSS 0.34%
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, H2PersistentQueue derives a session's message-map name as queue_ plus the client ID and its metadata-map name as queue_ plus the client ID plus _meta. A durable session whose client ID ends in _meta can therefore make its message map collide with another client's metadata map. The colliding sessions read and write the same H2 MVStore map with incompatible value types, which can corrupt queue head and tail data and cause message loss, misdelivery, failed queue reloads, or exposure of queued content across sessions. 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