Moquette pattern ACL wildcard injection allows cross-tenant authorization bypass (moquette-io moquette)

CVE-2026-85724
CRITICAL 9.6

At a glance

Source
NVD
EPSS
EPSS 0.32 % Β· percentile 25 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-863 β€” Incorrect Authorization
  • CWE-155 β€” Improper Neutralization of Wildcards or Matching Symbols

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NGitHub_M
CVSS 3.1CRITICAL 9.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NNVD Β· security-advisories@github.com (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
moquette-io Β· moquetteaffected < 0.18.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD