CVE-2025-12790Nicholas J Humfrey ruby-mqtt
High 7.4 No auth needed
Follow: this CVE · Nicholas J Humfrey · Nicholas J Humfrey ruby-mqtt We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- No
- Published
- Nov 6, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-29
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for ruby-mqtt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | mqtt |
< 0.7.0 |
0.7.0 |
gem "mqtt", ">= 0.7.0" |
Per OSV / GitHub Advisories (GHSA-9c5q-w6gr-fxcq). Check the version in your lockfile before upgrading.
Affected products
- Nicholas J Humfrey · ruby-mqtt
- Red Hat · Red Hat Satellite 6
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.