Eclipse Mosquitto: pre-auth RCE via websockets and FIPS auth bypass (CVE-2026-110486, CVE-2026-126708)
Severity: critical · Patch status: patched · Since 2026-11-17 · CVE-2026-110486, CVE-2026-126706, CVE-2026-126708, CVE-2026-126763, CVE-2026-129149, CVE-2026-129705, CVE-2026-130491
Roger Light published three Eclipse Mosquitto advisories on 2026-11-17. The most serious, CVE-2026-110486 (critical), is an out-of-bounds write in the built-in websockets implementation, reached before authentication, that can lead to remote code execution; it affects 2.1.0 to 2.1.2 when a websockets listener uses the built-in code rather than libwebsockets. CVE-2026-126708 (high) affects 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2 when built against OpenSSL 4.0 in FIPS mode: a missing check on a password hashing function lets any password shorter than 8 characters match any other short password. CVE-2026-126706 (low on oss-sec, moderate on GitHub) lets a hostile broker crash mosquittoctrl through a non-string error field. The first fixed release for all three is 2.1.3 (2.0.23 for the 2.0.x line of CVE-2026-126708); the project recommends 2.1.4, which also corrects a regression in 2.1.3 that rejected legacy sha512 password hashes. Until patched, stop using websockets listeners or build against libwebsockets. The advisories do not say whether these are being exploited, and none of the three CVEs appears in the CISA KEV catalogue release of 2026-11-17.
What to do
- Upgrade Mosquitto to 2.1.4 (2.1.x), prioritising brokers with websockets listeners; 2.1.3 is the first fixed release but 2.1.4 fixes a 2.1.3 regression with legacy sha512 password hashes
- On the 2.0.x line, upgrade to 2.0.23 for CVE-2026-126708; 2.0.x is not affected by CVE-2026-110486 or CVE-2026-126706
- Until patched, disable websockets listeners or build against libwebsockets support (the advisory's stated mitigation for CVE-2026-110486)
- If running OpenSSL 4.0 in FIPS mode, audit for accounts with passwords under 8 characters and enforce longer passwords
- Only point mosquitto_ctrl at trusted brokers
Fixed versions
- 2.0.23 (2.0.x line, CVE-2026-126708)
- 2.1.3 (GitHub patched version for all three advisories)
- 2.1.4 (recommended: also fixes a 2.1.3 regression that rejected legacy sha512 password hashes)
Sources
All live incidents on Threat Watch