CVE-2018-12551Eclipse Mosquitto
High 8.1 No auth needed
Follow: this CVE · Eclipse · Eclipse Mosquitto We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Mosquitto.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eclipse | mosquitto | ≥ 1.0 ≤ 1.5.5 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.eclipse.org Exploit Issue Tracking Vendor Advisory
- lists.debian.org