Vulnerability · Published Nov 6, 2025 · Assigned by redhat

CVE-2025-12790Rubygem-mqtt: rubygem-mqtt hostname validation

High 7.4

In plain English

A high-severity security flaw in ruby-mqtt from Nicholas J Humfrey. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.4%top 68.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsmqtt0.7.0GHSA-9c5q-w6gr-fxcq

Affected products (as reported)

VendorProductVersions
Nicholas J Humfrey ruby-mqtt 0 – before 0.7.0
Red Hat Red Hat Satellite 6 see references
Red Hat Red Hat Satellite 6 see references

Weakness: CWE-29 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References