Eclipse Mosquitto ACL Misconfiguration Vulnerability - CVE-2018-12550

mosquitto Updated 02 Oct 2025

Summary

27/03/2019
N/A
Yes i
High
8.1

ALPINE-CVE-2018-12550: When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file, and that ACL file is empty, or contains only comments or blank lines, then Mosquitto will treat this as though no ACL file has bee... Affects mosquitto versions < 1.5.6-r0. Fixed in 1.5.6-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Eclipse Mosquitto is an open-source message broker that implements the MQTT protocol, widely used for IoT applications. It enables devices to communicate with each other efficiently. The package is known for its lightweight design and ease of use, making it a popular choice for developers. However, it has a vulnerability related to Access Control Lists (ACL) that can lead to unintended access permissions.

Vulnerability Detail

The vulnerability, identified as CVE-2018-12550, arises when Eclipse Mosquitto versions 1.0 to 1.5.5 are configured to use an ACL file that is either empty or contains only comments or blank lines. In such cases, Mosquitto defaults to an allow policy, granting all access instead of denying it. This misconfiguration can lead to unauthorized access to sensitive data or control over the message broker, posing significant security risks.

How To Fix

Minimum fixed version

1.5.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade mosquitto

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that the ACL file is not empty. You can add specific rules to the ACL file to restrict access appropriately. For example, you can add the following line to deny all access: topic deny #.

Conclusion

CVE-2018-12550 is a critical vulnerability in Eclipse Mosquitto that can lead to unauthorized access due to misconfigured ACL files. It is essential to update to the latest patched versions to mitigate this risk and ensure the security of your applications.

See every vulnerability recorded for mosquitto →

Share this vulnerability

FAQ

CVE-2018-12550 is a vulnerability in Eclipse Mosquitto that allows unauthorized access when an empty or improperly configured ACL file is used.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability can lead to unauthorized access to the Mosquitto broker, allowing attackers to read or send messages without permission.

You can update your Mosquitto package using the command: apk add mosquitto@<version>, replacing <version> with the appropriate patched version.

The CVSS score of CVE-2018-12550 is 8.1, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for mosquitto.

How To Fix

Minimum fixed version

1.5.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade mosquitto

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback