Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
moquette-io moquette
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 topi

CVSS 8.7 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-95846

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Moquette publishes Last-Will messages without enforcing write authorization
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
moquette-io moquette < 0.18.1 -

II. Public POCs for CVE-2026-95846

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-95846

登录查看更多情报信息。

Patches & Fixes for CVE-2026-95846 (1)

Other References for CVE-2026-95846 (2)

Same Patch Batch · moquette-io · 2026-09-23 · 8 CVEs total

CVE-2026-85724 9.6 CRITICAL Moquette pattern ACL wildcard injection allows cross-tenant authorization bypass
CVE-2026-95848 9.3 CRITICAL Moquette fails open when configured authentication or authorization classes cannot load
CVE-2026-95847 8.8 HIGH Moquette client IDs can cause cross-session H2 durable-queue corruption
CVE-2026-95843 8.7 HIGH Moquette malformed shared subscriptions can crash command processing
CVE-2026-95845 8.7 HIGH Moquette unbounded per-session message queues allow memory exhaustion
CVE-2026-95842 8.7 HIGH Moquette uncaught MQTT command exceptions can terminate shared session event loops
CVE-2026-95844 8.7 HIGH Moquette deeply nested MQTT topics can cause stack exhaustion

IV. Related Vulnerabilities

V. Comments for CVE-2026-95846

No comments yet


Leave a comment