Skip to main content

CVE-2026-95846: CWE-862: Missing Authorization in moquette-io moquette

0
High
VulnerabilityCVE-2026-95846cvecve-2026-95846cwe-862
Published: 09/23/2026 (09/23/2026, 16:29:54 UTC)
Source: CVE Database V5
Vendor/Project: moquette-io
Product: moquette

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

moquette-io

moquette

Affected versions
<0.18.1
GitHub Actionsmore threats →ai
moquette-io/moquette
pkg:github/moquette-io/moquette
Affected versions
<0.18.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 17:03:34 UTC

Technical Analysis

Moquette, a lightweight Java MQTT broker, has a missing authorization vulnerability (CWE-862) in versions before 0.18.1. Specifically, the PostOffice.publishWill method publishes a client's Last-Will message without enforcing canWrite authorization and reserved-topic checks that normally apply to PUBLISH operations. This allows a client to set a Will message on a topic it is not authorized to write to, resulting in unauthorized message injection upon unexpected client disconnection. The vulnerability is addressed in version 0.18.1.

Potential Impact

An attacker can inject unauthorized messages into MQTT topics that are normally restricted, potentially causing misinformation or unauthorized control messages to be distributed by the broker. This could affect the integrity of MQTT communications relying on topic-based authorization.

Mitigation Recommendations

Upgrade to moquette version 0.18.1 or later, where this authorization issue in PostOffice.publishWill is fixed. No other mitigation is indicated or required according to the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-22T16:39:45.793Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab402daf7a7c541060ee0d4

Added to database: 09/23/2026, 16:48:26 UTC

Last enriched: 09/23/2026, 17:03:34 UTC

Last updated: 09/24/2026, 01:57:04 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses