Mosquitto PROXY v2 listeners can use forged certificate data (CVE-2026-129705)
Versions 2.1.0 through 2.1.2 can treat non-PROXY-TLV certificate data as valid and bypass certificate policy.
Fake SSL data via untrusted PROXY v2 in Mosquitto 2.1.0–2.1.2
Eclipse Mosquitto 2.1.0 through 2.1.2 brokers that expose a listener using PROXY protocol v2 can be given untrusted proxy details and then treat fake SSL information as valid. An attacker who can connect to that listener, rather than only a trusted proxy, can spoof those details. Brokers without a PROXY v2 listener are not affected.
What to do: Allow only trusted proxies on PROXY protocol listeners and do not let clients connect to those listeners, as Eclipse documents.
| Product | Affected |
|---|---|
| Eclipse Mosquitto | 2.1.0 to 2.1.2 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
In Eclipse Mosquitto versions 2.1.0 to 2.1.2, a broker with a listener that is configured to use the PROXY protocol v2 is vulnerable to an untrusted proxy providing details that cause the broker to accept fake SSL information. This can be mitigated by following the documented requirements for PROXY listeners: It is very important that only trusted proxies are allowed to connect to any listener using the PROXY protocol, and that clients are not allowed to connect to the listener at all.
Versions 2.1.0 through 2.1.2 can treat non-PROXY-TLV certificate data as valid and bypass certificate policy.
Today 2.4K readers · 2.6K views · 142 reads · all time 206K views