CVE-2026-95846
published high CVSS 4.0 · 8.7Moquette publishes Last-Will messages without enforcing write authorization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| moquette-io | — | moquette< 0.18.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moquette-io | moquette | < 0.18.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
3Provider assertions
2GitHub_M · cna
Moquette publishes Last-Will messages without enforcing write authorization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 87ba9344093eb738e1393ad8e761778b786e79ad31b22c1fa5dd2e9feac1332d
- Ingested
- 30 Sep 2026, 15:35:53 UTC
- Source record
- Official CVE record