{"id":"CVE-2025-12790","published":"2025-11-06T21:07:34Z","modified":"2026-02-26T17:47:10Z","title":"Rubygem-mqtt: rubygem-mqtt hostname validation","vendor":"Nicholas J Humfrey","product":"ruby-mqtt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00559,"percentile":0.40227,"provenance":"source"},"cwes":[{"id":"CWE-29","name":"Path Traversal: '..filename'"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-12790","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2413004","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/njh/ruby-mqtt/blob/main/NEWS.md#ruby-mqtt-version-070-2025-10-29","tags":[]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.05},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"nicholas-j-humfrey","affectedVersions":[{"vendor":"Nicholas J Humfrey","product":"ruby-mqtt","versions":["< 0.7.0"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-11-08T04:55:20.280647Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"mqtt","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-9c5q-w6gr-fxcq"],"provenance":"source"}],"summary":{"text":"A flaw in the ruby-mqtt package (Nicholas J Humfrey's Rubygem MQTT library) is that, by default, it did not perform hostname validation on TLS connections. An attacker positioned to intercept traffic between a client and an MQTT broker could perform a man-in-the-middle attack, and exploiting this requires network access and a high-complexity condition, with no authentication or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:51Z"},"euvd":{"id":"EUVD-2025-38162","exploited":false,"provenance":"source"}}