# CVE-2018-12551: 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…

- Severity: High 8.1 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-03-27T17:26:20.000Z
- Modified: 2026-06-17T01:37:57.813Z
- Weaknesses: CWE-287, CWE-703
- Assigned by: eclipse

## Description

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.

(As written by CVE List.)

## Affected

- The Eclipse Foundation Eclipse Mosquitto: from 1.0 before unspecified; from unspecified up to 1.5.5
- eclipse mosquitto: from 1.0 up to 1.5.5

## Every score

- NVD: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401> (exploit, issue-tracking, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00035.html> (mailing-list)

## Sources

- CVE List: [CVE-2018-12551](https://www.cve.org/CVERecord?id=CVE-2018-12551), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-12551](https://nvd.nist.gov/vuln/detail/CVE-2018-12551), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-12551 · Whole record: https://cve.day/CVE-2018-12551.json · Rebuilt by cve.day 2026-11-25T22:57:42.035Z
