Vulnerabilities/

CVE-2026-95847

CVE

CVE-2026-95847

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

Severity

Critical

Base CVSS

9.6

Fixed in

72d6c8257191d2e4b2e3aa11ab25fd09f88c6cb7

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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.3

4.0

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

OSV

0

Endor Labs

9.6

3.1

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Required action

Known ransomware campaign use

References

https://github.com/moquette-io/moquette/releases/tag/v0.18.1, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95847.json, https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq, https://nvd.nist.gov/vuln/detail/CVE-2026-95847, https://github.com/moquette-io/moquette/commit/72d6c8257191d2e4b2e3aa11ab25fd09f88c6cb7, https://github.com/moquette-io/moquette/pull/964

Basic information

Base CVSS

9.6

EPSS probability

0.0

EPSS percentile

0.38622

Introduced version

0,0.15

Fix available

72d6c8257191d2e4b2e3aa11ab25fd09f88c6cb7

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.