CVE-2025-12790
JSON

7.4high

Rubygem-mqtt: rubygem-mqtt hostname validation

Severity
7.4high CVSS:3.1 by redhat
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-9c5q-w6gr-fxcq

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

Product or packageVersionsReported by
ruby-mqttbefore 0.7.0CVE List
rubygem-mqttNot specifiedCVE List
satellite:el8/rubygem-mqttNot specifiedCVE List
mqtt (RubyGems)before 0.7.0GitHub Advisory Database

All scores

redhat7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-29

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en Rubygem MQTT. Por defecto, el paquete no solía tener validación de nombre de host, lo que resultaba en un posible ataque man-in-the-middle (MitM).

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12790 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-9c5q-w6gr-fxcq changed 2025-11-07CC-BY-4.0
NVDCVE-2025-12790 changed 2026-10-18Public domain