Live threats

All CVEs / Eclipse

CVE-2018-12551Eclipse Mosquitto

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Mar 27, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-703, CWE-287
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any malformed data in the password file will be treated as valid. This typically means that the malformed data becomes a username and no password. If this occurs, clients can circumvent authentication and get access to the broker by using the malformed username. In particular, a blank line will be treated as a valid empty username. Other security measures are unaffected. Users who have only used the mosquitto_passwd utility to create and modify their password files are unaffected by this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mosquitto.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
eclipsemosquitto≥ 1.0 ≤ 1.5.5

Official sources

References

Links published by the sources. Open them with care.