On 4 November 2026 researcher born0monday published a write-up showing that a bug in Eclipse Mosquitto's built-in WebSocket listener is not harmless. Empty WebSocket frames can make the broker mis-count how many bytes it read, corrupt heap memory and - with enough heap work - yield unauthenticated remote code execution. The same root cause had been public since August as GitHub issue #3704, where discussion treated it as a non-memory-safety quirk. Home Assistant's official Mosquitto add-on patched the path in 7.1.2 on 19 October 2026. Upstream Mosquitto still had no fixed release on publication day. A 5 November update from the researcher says Eclipse is preparing fixes expected before 18 November.

Who is exposed

The bug hits Mosquitto 2.1.x builds that enable the built-in WebSocket listener (WITH_WEBSOCKETS=yes) and expose that listener on the network. MQTT-over-WebSocket is often bound to TCP port 1884. Anyone who can open that socket - same LAN, or the open internet if the port is forwarded - can talk to the parser before login.

Home Assistant users who run the Mosquitto add-on at 7.1.1 or older in the default layout were in that set. Add-on 7.1.2 fixes empty WebSocket payload handling. Later 7.1.3 stops building libwebsockets in the add-on image altogether. Check the add-on version under Settings and update if you are behind. Standalone Mosquitto installs need either a forthcoming upstream release or a temporary lockdown of the WebSocket port.

What to do before upstream ships

Until a fixed Mosquitto package lands, born0monday's advisory is blunt: firewall or otherwise restrict the WebSocket port, or turn off the built-in WebSocket listener if you do not need MQTT over WebSocket. Keep ordinary MQTT on 1883 behind authentication and off the public internet. If you only use the Home Assistant add-on and you are already on 7.1.2 or newer, the container path described in the write-up is closed; still treat any other Mosquitto instance on the same network as separate.

The write-up walks through a full exploit chain against the Home Assistant Green add-on container as a research target for Pwn2Own Ireland 2026. That detail matters for operators who still run unpatched brokers; it is not a reason to leave WebSocket listeners reachable from untrusted networks while waiting for Eclipse.