The risk
An attacker can forge a valid password for an existing account, leading to full takeover of the Mosquitto instance.
Affected products and versions
Eclipse Mosquitto 2.0.0‑2.0.22, 2.1.0‑2.1.2 (all versions supported by OpenSSL 4.0)
What to do
- Apply the patch as soon as it is released (within 72h).
- Restrict access to MQTT ports from the Internet or disable weak authentication.
- Inventory all Mosquitto installations, including those managed by third parties.
- Monitor authentication logs and EDR alerts for abnormal login attempts.
Sources and patches
- NVD — nvd.nist.gov
Advisory written by AWD from public sources (NVD, CISA, FIRST, vendor). Always refer to the vendor's official advisory before acting.
