Open-source package vulnerability · RubyGems
CVE-2025-12790: MQTT does not validate hostnames
highCVSS 3.1 7.4GHSA-9c5q-w6gr-fxcq
A flaw was found in Rubygem MQTT. By default, the package used to not have hostname validation, resulting in possible Man-in-the-Middle (MITM) attack.
Published Nov 6, 2025
Affected packages
mqtt
- Ecosystem
- RubyGems
- Affected
- < 0.7.0
- Fixed in
- 0.7.0
- Check
bundle info mqtt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A flaw was found in Rubygem MQTT. By default, the package used to not have hostname validation, resulting in possible Man-in-the-Middle (MITM) attack.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
