CVE-2026-95846 — moquette-io moquette
Summary
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.
Severity breakdown
High · 8.7
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on integrity, none on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-862: Missing Authorization
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| moquette-io moquette | < 0.18.1 | — |
Public exploits
Exploit available
References by type
Patches and fixed releases
Affected
- moquette-io moquette
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-95846?
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. Weakness type: Missing Authorization (CWE-862).
How severe is CVE-2026-95846?
CVE-2026-95846 has a CVSS 4.0 base score of 8.7 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-95846 being exploited?
Not as far as is known: CVE-2026-95846 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-95846?
moquette-io moquette < 0.18.1.
How do I fix CVE-2026-95846?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-135203 — Eclipse Foundation Eclipse Ditto
- Comviva Revenue Plus 3.0.0 Expression Language Injection Vulnerability
- CVE-2026-77230 — Camunda 8
- EUSurvey 1.6 Path Traversal Vulnerability Enables Remote Code Execution
- JLine3 built-in less pager: ReDoS via user-supplied search patterns in jline-builtins (CVE-2026-77423)