Moquette pattern ACL wildcard injection allows cross-tenant authorization bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, when pattern-based ACL rules are configured, AuthorizationsCollector.canDoOperation substitutes client ID and username values directly into rules containing %c or %u and then treats the result as an MQTT topic filter. A client that uses + or # in either identity can broaden the substituted filter and gain cross-tenant read and write access. A # identity can also produce an invalid filter that triggers a NullPointerException in Topic.match and disrupts session processing. 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
- No
- Technical impact
- Total
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 |
| — | io.moquette:moquette-broker (Maven) | before 0.18.1 | 0.18.1 | Patch available | GHSA-5f42-97gr-vfhq |
- moquette Vendormoquette-io Affected before 0.18.1 Fixed in 0.18.1 Patch available CNA
- io.moquette:moquette-broker (Maven) Vendor— Affected before 0.18.1 Fixed in 0.18.1 Patch available GHSA-5f42-97gr-vfhq
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
- Fix · GHSA-5f42-97gr-vfhq io.moquette:moquette-broker (Maven) Fixed in 0.18.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-85724
- 2026-10-03 Alias added: GHSA-5f42-97gr-vfhq
- 2026-10-20 Weakness changed · GHSA-5f42-97gr-vfhq
- 2026-10-20 1 new reference · GHSA-5f42-97gr-vfhq
References
Other 14
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1
- https://github.com/moquette-io/moquette/pull/959
- https://github.com/moquette-io/moquette/pull/958
- https://github.com/moquette-io/moquette/pull/957
- https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973
- https://github.com/moquette-io/moquette/commit/d77753542e262b7aa573dee3c2b05e44439bbd96
- https://github.com/moquette-io/moquette/commit/ca17e0be19e86d5e291f4532dfdc94616c8e0049
- https://github.com/moquette-io/moquette/commit/c65b3e90fa03e562e2c2fa69c3ee916c2cbfbd2b
- https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2
- https://github.com/moquette-io/moquette/commit/86feb7c31e6fac849c465d8079d08c0e7ef01cdf
- https://github.com/moquette-io/moquette/commit/72d6c8257191d2e4b2e3aa11ab25fd09f88c6cb7
- https://github.com/moquette-io/moquette/commit/26498631e92d50440b4e3ed42fa546253cc4090c
- https://github.com/moquette-io/moquette/commit/14a2f4fd280c8f6a791600c306cbccecb7c67007
- https://github.com/moquette-io/moquette
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-63711 Moquette publishes Last-Will messages without enforcing write authorization CVSS 4.0HIGH 8.7
- 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
Sources
- CVE-2026-85724 · CVE Program
- CVE-2026-85724 · NVD
- FIRST EPSS
- GHSA-5f42-97gr-vfhq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences