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

High 8.8 Published Updated

Attackers can corrupt MQTT message queues by crafting client IDs, leading to data leakage or loss in Moquette broker durable sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-95847?

CVE-2026-95847 is a high-severity vulnerability in moquette-io moquette, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-99

Which versions are affected by CVE-2026-95847?

It affects 1 product.

Products include Moquette Moquette.

How do I fix CVE-2026-95847?

No fix has been published for CVE-2026-95847 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-95847 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-95847 exists.

Sources

Is CVE-2026-95847 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free