Skip to main content

Moquette CVE-2026-95848

| EUVDEUVD-2026-85418 CRITICAL
Not Failing Securely ('Failing Open') (CWE-636)
2026-09-23 GitHub_M
9.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Operator misconfigures custom auth class (fails to load)
  2. Delivery
    Broker silently starts fail-open (AcceptAll/PermitAll)
  3. Exploit
    Attacker connects anonymously over MQTT
  4. Execution
    Subscribe/publish to all topics
  5. Impact
    Read sensitive data and inject/tamper messages

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Fail-secure design
Exploitation Conditions

Not a directly attacker-triggered flaw: exploitation requires that the operator has configured a custom authenticator_class or authorizator_class in Moquette AND that class fails to load at startup (misspelled class name, missing dependency, constructor failure, or classpath problem). Under that condition Server.initializeAuthenticator/initializeAuthorizatorPolicy fall back to AcceptAllAuthenticator/PermitAllAuthorizatorPolicy, leaving the broker with authentication/authorization disabled while the operator believes controls are active. Once that state exists, exploitation is remote and unauthenticated (MQTT is anonymous by default) against any exposed listener. The limiting factor is that a broker with no custom auth configured (already permissive by design) or one whose auth class loads correctly is unaffected - the risk is confined to deployments that both intend to enforce auth and have a broken class-load.

Impact

The input CVSS 4.0 vector (9.3, AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N) scores this as a critical remote-unauthenticated confidentiality+integrity break, and that end-state is accurate: once the fail-open path triggers, any anonymous MQTT client reads and writes all topics. However, the score overstates real-world exploitability because the flaw (CWE-636, failure to fail securely) is NOT attacker-triggered - it is a latent condition that only manifests when the operator has actually configured a custom authenticator_class/authorizator_class AND that class fails to load (misspelled name, missing dependency, constructor exception, or classpath problem). CVSS 4.0 has no clean way to encode this operator-misconfiguration precondition, so AC:L/PR:N reads as more universally exploitable than it is. There is no EPSS score, no CISA KEV listing, and no networked/weaponized exploit - the advisory ships only source-only, no-network JDK-17 PoCs (part of a broader Moquette audit bundle). Signals are therefore consistent in one direction: high technical impact, but no evidence of active exploitation and a meaningful environmental gate. Treat as a high-priority hardening/patch item for anyone running Moquette with custom auth classes, but not an emergency mass-exploitation scenario. Note the vendor VA:N (no availability impact) is correct for THIS CVE, though the same advisory documents separate unauthenticated DoS bugs not covered here.

Exploit ScenarioDerived

An operator deploys Moquette with a custom authenticator_class, but a packaging change drops the dependency (or the class name is misspelled), so at startup the broker silently falls back to AcceptAllAuthenticator/PermitAllAuthorizatorPolicy and comes up with authentication disabled. A remote attacker who connects anonymously - the default MQTT behavior - then subscribes to and publishes on every topic. Only source-only PoCs exist; no network-ready public exploit is published.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 23, 2026

Moquette MQTT brokers prior to 0.18.1 can start up with authentication and authorization silently disabled whenever a configured authenticator_class or authorizator_class fails to load, so any remote client - including anonymous MQTT clients, since the broker is anonymous by default - can read and write every topic the broker handles while the operator believes access controls are active. The flaw is not directly attacker-triggered: it requires a deployment that both intends to enforce auth and has a broken class-load (misspelled class name, missing dependency, constructor failure, or classpath problem), which is why the independent assessment rates it CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N even though the end-state is a full confidentiality and integrity break; the vendor's CVSS 4.0 vector is 9.3. No public exploit for this fail-open condition was identified at time of analysis, and no CISA KEV entry is present; version 0.18.1 fixes the issue by aborting startup instead of falling back to permissive defaults.

RemediationAI

Upgrade to Moquette 0.18.1 - vendor-released patch: 0.18.1 - which is the fix for this issue; it was introduced by PR #967 (commit 14a2f4fd280c8f6a791600c306cbccecb7c67007) and makes Server.initializeAuthenticator and Server.initializeAuthorizatorPolicy throw IllegalArgumentException and reject startup rather than silently installing AcceptAll/PermitAll, with regression test ServerAuthConfigFailClosedTest confirming both the abort behavior and that the intentional no-class default still starts. Full details are in https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq; related upstream fixes in the same advisory cluster are PR #957 and PR #958. If immediate upgrade is not possible, use these compensating controls: (1) treat the broker's WARN log for a class that failed to load as a security event - alert on it and add a post-deployment smoke test that connects with bogus credentials and asserts rejection, since a passed test is the only way to distinguish a working ACL from a failed-open one; (2) verify the fully qualified class name and that the auth plugin and its transitive dependencies are present on the broker classpath, re-checking after every configuration or dependency change; (3) until fail-closed behavior is verified, restrict the MQTT listeners (default 1883/8883 and the WebSocket port) to trusted networks through firewall rules or bind-address configuration - trade-off: this blocks legitimate remote publishers and subscribers; (4) avoid treating client-side settings as a control, since MQTT allows anonymous connects by default and the permissive fallback cannot be corrected server-side without the 0.18.1 code. Note that patching to 0.18.1 also addresses the related pattern-ACL wildcard injection, Will-message authorization bypass, and durable-store key-collision issues reported in the same advisory, so a single upgrade to 0.18.1 plus review of pattern ACL rules and Will-message handling is the recommended path.

Affected VersionsENISA

moquette < 0.18.1

Affected Packages

maven io.moquette:moquette-broker fix: 0.18.1
euvd moquette fix: 0.18.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-636 (Not Failing Securely, i.e. a fail-open default) in Moquette's Java reflection-based policy initialization. In broker/src/main/java/io/moquette/broker/Server.java around lines 483-531, Server.initializeAuthenticator and Server.initializeAuthorizatorPolicy load the class named by authenticator_class/authorizator_class; when instantiation throws, the code path is indistinguishable from the 'no class configured' case and returns AcceptAllAuthenticator or PermitAllAuthorizatorPolicy. MQTT listeners are anonymous by default, so authentication and ACL policies are the only barrier between an untrusted client and the broker's full topic namespace. Affected code is identified by CPE cpe:2.3:a:moquette-io:moquette:*:*:*:*:*:*:*:* and Maven coordinates io.moquette:moquette-broker (vulnerable <= 0.18.0). This CVE sits inside a wider GHSA-5f42-97gr-vfhq cluster of issues that share the same 'untrusted anonymous MQTT client' trust model: pattern-ACL wildcard injection via an unvalidated clientId substituted into %c/%u rules, a SessionEventLoop crash that wedges co-located clients, a Topic.match NPE on malformed ACL filters, a Last-Will authorization bypass, and durable-store key collisions. As the advisory notes, this is a memory-safe JVM broker, so the ceiling is authorization bypass, denial of service, and cross-session integrity - not remote code execution.

Know when Moquette gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.4 HIGH

AC:H because exploitation depends on a specific operator misconfiguration (auth class configured but failing to load); once present, any remote anonymous client gets full topic read/write, so C:H/I:H, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 23, 2026 - 18:17 EUVD
CVE Published
Sep 23, 2026 - 16:29 cve.org
CRITICAL 9.3

DescriptionCVE.org

Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, when a configured authenticator or authorizator class cannot be loaded, Server.initializeAuthenticator and Server.initializeAuthorizatorPolicy treat the failure as though no custom class was configured and fall back to AcceptAllAuthenticator or PermitAllAuthorizatorPolicy. A misspelled class name, missing dependency, constructor failure, or classpath problem can therefore start the broker with authentication or authorization disabled even though the operator configured those controls. This issue is fixed in version 0.18.1.

Technical POC Analysis

CWE-636 - Not Failing Securely, specifically a fail-open initialization path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Moquette, an open-source MQTT broker commonly embedded in IoT and industrial messaging pipelines, can run with all access controls silently switched off, allowing any remote or anonymous client to read and write every topic the broker manages while operators believe authentication is enforcing. Because MQTT brokers typically sit at the center of device telemetry, command-and-control, and sensor data flows, a fail-open broker effectively hands unauthenticated parties both read access to sensitive operational data and the ability to inject or alter commands. The vulnerability is not remotely triggered by an attacker but surfaces in any deployment that intends to enforce access control and has a misconfigured or broken authenticator or authorizer class, meaning the organizations most affected are those with existing authentication configurations they believe are working.

Business Impact: High
Compensating Controls

Vendor-released patch: 0.18.1. Until that upgrade is applied, interim mitigations are: verify in startup logs and runtime behavior that the configured authenticator_class and authorizator_class actually loaded, and treat any load failure as a stop-ship condition; explicitly disable anonymous access on all MQTT listeners and confirm default-deny topic ACLs; restrict network reachability to the broker via firewall rules, TLS client certificates, or a gateway so only trusted endpoints can connect; and add alerting on broker startup that flags any state in which authentication is not active.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
Lightweight niche Java MQTT broker, mostly embedded/IoT projects, no broad enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy