Moquette publishes Last-Will messages without enforcing write authorization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| moquette-io | moquette | before 0.18.1 | 0.18.1 | Patch available | CNA |
- moquette Vendormoquette-io Affected before 0.18.1 Fixed in 0.18.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:moquette:moquette:*:*:*:*:*:*:*:* | before 0.18.1 | Vulnerable | moquette-io |
- cpe:2.3:a:moquette:moquette:*:*:*:*:*:*:*:* Versions before 0.18.1 Vulnerable ·moquette-io
Remediation
- Fix · CNA moquette (moquette-io) Fixed in 0.18.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-95846
References
More moquette-io Moquette vulnerabilities
- TI-2026-63713 Moquette fails open when configured authentication or authorization classes cannot load CVSS 4.0CRITICAL 9.3
- TI-2026-63712 Moquette client IDs can cause cross-session H2 durable-queue corruption CVSS 4.0HIGH 8.8
- TI-2026-63709 Moquette deeply nested MQTT topics can cause stack exhaustion CVSS 4.0HIGH 8.7
- TI-2026-63708 Moquette malformed shared subscriptions can crash command processing CVSS 4.0HIGH 8.7
- TI-2026-63707 Moquette uncaught MQTT command exceptions can terminate shared session event loops CVSS 4.0HIGH 8.7
- TI-2026-58826 Moquette pattern ACL wildcard injection allows cross-tenant authorization bypass CVSS 3.1CRITICAL 9.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences