Skip to main content

CVE-2026-95843: CWE-20: Improper Input Validation in moquette-io moquette

0
High
VulnerabilityCVE-2026-95843cvecve-2026-95843cwe-20
Published: 09/23/2026 (09/23/2026, 16:29:44 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.subscribe parses a shared-subscription filter through SharedSubscriptionUtils.extractShareName before validating the complete $share/{shareName}/{topicFilter} structure. A remote client can send a filter such as $share/grp without a topic-filter portion, causing a StringIndexOutOfBoundsException while calculating the share name. The exception terminates command handling on the shared session event loop and can deny service to other client sessions assigned to that loop. 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
None
Vuln. Availability
High
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:N/VA:H/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:50 UTC

Technical Analysis

Moquette versions before 0.18.1 contain an input validation flaw in the PostOffice.subscribe function. Specifically, the method parses a shared-subscription filter string using SharedSubscriptionUtils.extractShareName without fully validating the expected structure of $share/{shareName}/{topicFilter}. A remote attacker can send a malformed filter such as $share/grp, which lacks the topic-filter portion, triggering a StringIndexOutOfBoundsException. This exception terminates command handling on the shared session event loop, resulting in denial of service to other client sessions assigned to that loop. The vulnerability is fixed in version 0.18.1.

Potential Impact

Exploitation of this vulnerability allows a remote unauthenticated client to cause a denial of service by crashing the shared session event loop handling MQTT subscriptions. This disrupts service for other clients sharing the same event loop, potentially impacting availability of the MQTT broker.

Mitigation Recommendations

Upgrade moquette to version 0.18.1 or later, where this input validation issue is fixed. No other mitigations are indicated.

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: 6ab402daf7a7c541060ee0d1

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

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

Last updated: 09/24/2026, 03:04:46 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