Mosquitto short-password auth bypass with OpenSSL 4.0 FIPS (CVE-2026-126708)
A failed short-password rejection is ignored, so one password under eight characters can match another.
Auth bypass in Mosquitto with OpenSSL 4 FIPS short passwords
Eclipse Mosquitto does not check return values from sha512-pbkdf2 and legacy sha512 password hashing. With OpenSSL 4.0 and the FIPS provider, sha512-pbkdf2 fails for passwords shorter than 8 characters, so a newly created password can match any other password under 8 characters. A remote client can use that to authenticate as the affected user. Mosquitto 2.0.0–2.0.22 and 2.1.0–2.1.2 are affected when those hash options and OpenSSL conditions apply.
What to do: Eclipse has not listed a fixed version; apply Eclipse's update for CVE-2026-126708 when it is available. No workaround is stated.
| Product | Affected |
|---|---|
| Eclipse Mosquitto | 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
In Eclipse Mosquitto versions 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2, the return value of password hash functions for sha512-pbkdf2 and legacy sha512 were not checked. Starting with OpenSSL 4.0, sha512-pbkdf2 hashing will fail when using the FIPS provider for passwords shorter than 8 characters. This has the effect that newly created passwords would match against any other password with fewer than 8 characters.
A failed short-password rejection is ignored, so one password under eight characters can match another.
Today 2.4K readers · 2.6K views · 142 reads · all time 206K views