Technical impact
In Eclipse Mosquitto versions 2.1.0 through 2.1.2, a broker that accepts PROXY protocol v2 connections can be tricked into accepting forged SSL certificate details. The malicious proxy injects a TLV that causes the broker to believe the client presents a valid TLS handshake when in fact it does not. This bypasses the broker’s TLS certificate policy, leading to an attacker being able to impersonate a client or disable encryption enforcement, potentially exposing or manipulating message traffic.
Affected Systems
Affected product is Eclipse Mosquitto v2.1.0, v2.1.1, and v2.1.2. The vulnerability exists specifically when the listener is configured to use the PROXY protocol v2 for AF_UNIX sockets, exposing the broker to externally supplied proxy data.
Risk and Exploitability
The exploit requires an untrusted proxy on the same network segment or ability to send PROXY v2 headers to the broker. No publicly available exploit code is known and the EPSS score is unavailable, but the impact of successful bypass is significant: an attacker could gain unauthorized access to topics or inject forged certificates. Because the vulnerability is not listed in CISA KEV, it may be under the radar, but the absence of a fixed patch in affected versions means administrators should treat it as a medium to high risk until mitigated or patched.