Improper authentication in Eclipse Mosquitto
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-287.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | Eclipse Mosquitto | 1.0 and later; up to 1.5.5 | — | No fix listed | CNA |
- Eclipse Mosquitto VendorEclipse Foundation Affected 1.0 and later; up to 1.5.5 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:* | 1.0 – 1.5.5 | Vulnerable | Eclipse Foundation |
- cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:* Versions 1.0 – 1.5.5 Vulnerable ·Eclipse Foundation
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
The Eclipse Foundation Eclipse Mosquitto unspecified
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2018-09009 When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file…Priority LOW 38
- TI-2017-05291 NULL pointer dereference in Eclipse MosquittoPriority LOW 36
- TI-2018-09005 Improper access control in Eclipse MosquittoPriority LOW 30
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2018-12551
- 2026-10-03 Alias added: GHSA-5hh6-jrm5-mqxq
References
More Eclipse Foundation Mosquitto vulnerabilities
- TI-2024-09749 Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback CVSS 4.0HIGH 7.2
- TI-2018-09002 Reachable assertion in Eclipse Mosquitto CVSS 3.0HIGH 7.5
- TI-2023-12912 The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that… CVSS 3.1HIGH 7.5
- TI-2017-05287 Uncontrolled resource consumption in Eclipse Mosquitto CVSS 3.0HIGH 7.5
- TI-2023-05183 Unconditionally adding an event to the epoll causes excessive CPU consumption CVSS 3.1HIGH 7.5
- TI-2018-09009 When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file… CVSS 3.0HIGH 8.1
Sources
- CVE-2018-12551 · CVE Program
- CVE-2018-12551 · NVD
- FIRST EPSS
- GHSA-5hh6-jrm5-mqxq · GitHub Advisory Database · CC BY 4.0
- CVE-2018-12551 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences