{"id":"CVE-2025-12790","aliases":["GHSA-9c5q-w6gr-fxcq"],"url":"https://o3.security/vulnerability/CVE-2025-12790","summary":"Rubygem-mqtt: rubygem-mqtt hostname validation","details":"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":"2025-11-06T21:07:34.970Z","modified":"2026-07-15T01:49:11.204200584Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"mqtt","fixedVersion":"0.7.0"}],"fix":null,"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/njh/ruby-mqtt/blob/main/NEWS.md#ruby-mqtt-version-070-2025-10-29"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-12790"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12790.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12790"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2413004"},{"type":"PACKAGE","url":"https://github.com/njh/ruby-mqtt"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:11.204200584Z"}}