Live threats

All CVEs / Nicholas J Humfrey

CVE-2025-12790Nicholas J Humfrey ruby-mqtt

High 7.4 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for ruby-mqtt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

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.