# Moquette: Pattern-ACL wildcard injection (cross-tenant authorization bypass) plus a remote-unauthenticated DoS cluster, a Will-message authorization bypass, and a cross-session durable-corruption bug

Advisory record · `GHSA-5f42-97gr-vfhq`

- **Identifiers:** `GHSA-5f42-97gr-vfhq` · `CVE-2026-85724` · `CVE-2026-95842` · `CVE-2026-95843` · `CVE-2026-95844` · `CVE-2026-95845` · `CVE-2026-95846` · `CVE-2026-95847` · `CVE-2026-95848`
- **State:** Confirmed
- **Severity:** CVSS 8.7 High
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-99](https://cwe.mitre.org/data/definitions/99.html) · [CWE-155](https://cwe.mitre.org/data/definitions/155.html) · [CWE-248](https://cwe.mitre.org/data/definitions/248.html) · [CWE-636](https://cwe.mitre.org/data/definitions/636.html) · [CWE-674](https://cwe.mitre.org/data/definitions/674.html) · [CWE-770](https://cwe.mitre.org/data/definitions/770.html) · [CWE-862](https://cwe.mitre.org/data/definitions/862.html) · [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md) · [Broken access control](https://agentprime.io/advisories/tag/access-control.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md) · [CWE-99](https://agentprime.io/advisories/tag/cwe-99.md) · [CWE-155](https://agentprime.io/advisories/tag/cwe-155.md) · [CWE-248](https://agentprime.io/advisories/tag/cwe-248.md) · [CWE-636](https://agentprime.io/advisories/tag/cwe-636.md)
- **Published:** 23 Sept 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Sept 2026, 16:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `io.moquette:moquette-broker` (Maven): affected `<0.18.1`; fixed in `0.18.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Moquette broker (io.moquette:moquette-broker) versions before 0.18.1 are affected. Any connecting MQTT client can bypass pattern-based ACL rules across tenants when those rules are configured, crash the broker with malformed subscriptions, or publish Last-Will messages without authorization. Upgrade to 0.18.1.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.7 High, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0044, the 38th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:16 UTC: First seen by agentprime
- 31 Oct 2026, 14:16 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-5f42-97gr-vfhq)

## Sources

- [GitHub Advisory Database: GHSA-5f42-97gr-vfhq](https://github.com/advisories/GHSA-5f42-97gr-vfhq)
- [OSV: GHSA-5f42-97gr-vfhq](https://osv.dev/vulnerability/GHSA-5f42-97gr-vfhq)
- <https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85724>
- <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/b4a98bb3f3425ece476ed073aa080c627c1239af>
- <https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2>
- <https://github.com/moquette-io/moquette/commit/86feb7c31e6fac849c465d8079d08c0e7ef01cdf>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-5f42-97gr-vfhq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-5f42-97gr-vfhq/>. Everything for agents: <https://agentprime.io/llms.txt>.
