The Eclipse Mosquitto project shipped three releases of its MQTT broker on 17 November 2026. Version 2.1.3 is labelled a critical security release, 2.0.23 is a security release for the older 2.0 branch, and 2.1.4, a bugfix release, came out the same day to undo a regression in 2.1.3. The project published seven GitHub security advisories alongside them.

The WebSocket flaw

The critical one, CVE-2026-110486, affects 2.1.0 to 2.1.2 when the broker has a WebSocket listener that uses Mosquitto's built-in WebSocket implementation. A crafted frame causes an out-of-bounds write that can lead to remote code execution without authentication. The advisory credits orosec. On 4 November, the researcher born0monday published a write-up showing the same bug as a pre-auth exploit against the Mosquitto add-on on a Home Assistant Green, after the Eclipse Foundation closed his report as a duplicate. According to that write-up, the Home Assistant add-on had already been fixed in version 7.1.2 on 19 October, so this release mainly matters for everyone running Mosquitto outside Home Assistant: Docker containers, Linux packages, routers and self-built brokers.

On 2.1.0-2.1.2 the advisory's workarounds are to disable WebSocket support or to build Mosquitto against libwebsockets instead of the built-in implementation. Brokers that only listen on plain MQTT ports are not exposed to this bug.

The other advisories

  • CVE-2026-126708 (high): a missing check on the password hashing function could let the broker accept a wrong password. It affects 2.0.0-2.0.22 and 2.1.0-2.1.2, but the only documented case is OpenSSL 4.0 with the FIPS provider and passwords shorter than eight characters.
  • CVE-2026-130491 (medium): the libmosquitto client library did not reject Will messages over 65,535 bytes and could send up to 65,535 bytes of uninitialised heap memory as the Will payload. This goes back to version 1.5.
  • CVE-2026-126763 (low): a particular will delay interval could suppress all delayed Will messages.
  • CVE-2026-129705 (low): in 2.1.x, an injected TLV in a PROXY v2 header over a Unix socket could bypass the TLS and certificate policy.
  • CVE-2026-129149 and CVE-2026-126706 (medium): the mosquitto_ctrl tool could crash when a malicious broker sent a crafted $CONTROL reply.

Version 2.1.3 also fixes a crash in the dynamic security plugin, raises the default iteration count for sha512-pbkdf2 password hashes to 20,000, and corrects maximum packet size checks in both directions.

Skip 2.1.3, install 2.1.4

The password hashing changes in 2.1.3 broke one thing: passwords stored in the legacy sha512 format were always rejected. Version 2.1.4 fixes that regression and nothing else, so on the 2.1 branch it is the version to install. Anyone still on 2.0 gets the fixes that apply to that branch in 2.0.23; the WebSocket bug and the PROXY v2 issue only exist in 2.1.x.