Technical impact
A missing return value check in the password hashing routines of Eclipse Mosquitto allows any provided password to be accepted when the hash is generated with sha512‑pbkdf2 or legacy sha512 . Because the function fails to verify success, a short password (fewer than eight characters) that results in a failed hash will still pass as valid . This flaw gives an attacker the ability to authenticate as any user without knowing the correct secret.
Affected Systems
Eclipse Mosquitto versions 2.0.0 through 2.0.22 and 2.1.0 through 2.1.2 are affected. Users running these releases on systems that employ OpenSSL 4.0 and its FIPS provider are at particular risk, as the provider causes sha512‑pbkdf2 hashing to fail for short passwords.
Risk and Exploitability
The vulnerability is exploitable over the network via MQTT authentication. An attacker can attempt a short password, causing the hash operation to fail, yet the broker will treat the authentication as successful. This leads to unauthorized access to all resources protected by the broker. The exact CVSS score is not supplied, but the impact is severe due to full authentication bypass. EPSS data is unavailable so expected exploitation probability cannot be quantified, and the flaw is not yet listed in CISA KEV. Nonetheless, any user with a broker accessible from the internet should consider this a critical security issue.