home / blog
2026-11-24 · critical
CVE-2026-126708: Password bypass in Eclipse Mosquitto
Eclipse Mosquitto critical vulnerability bypasses password checks for strings under 8 characters

Eclipse Mosquitto, a widely used MQTT broker for IoT and machine-to-machine communication, has a critical vulnerability (CVE-2026-126708) affecting its password hash mechanisms. The bug relates to the lack of checking of the return value from sha512-pbkdf2 and legacy sha512 password hash functions. With OpenSSL 4.0, sha512-pbkdf2 hashing fails when using the FIPS provider for passwords shorter than 8 characters, with the effect that newly created passwords match against any other password with fewer than 8 characters.
The vulnerability has received a CVSS score of 9.8, classifying it as critical. It was officially published on NVD on November 18, 2026. Signals indicate that a Proof of Concept is already available on GitHub, demonstrating that the exploit is technically feasible. The severity is confirmed by both the CVSS score and the vendor's declaration.
To defend against this vulnerability, it is essential to apply the patch as soon as it becomes available from the Eclipse Mosquitto team. In the meantime, implementing compensating measures such as enforcing password policies with a minimum length of more than 8 characters is recommended. Additionally, it is important to monitor for system anomalous activity and restrict unnecessary access to the MQTT broker.
At a glance
- What
- Vulnerability in Eclipse Mosquitto's password hash mechanisms allowing bypass of password checks for strings under 8 characters
- Severity
- Critical (CVSS 9.8)
- Affected versions
- 2.0.0-2.0.22 and 2.1.0-2.1.2
- Fix
- Not reported
- Status
- Officially published on NVD on 2026-11-18
- Action
- Apply patch as soon as available, implement compensating measures
Sources: NVD, CVE-2026-126708