Skip to main content
VulnerabilityPublished

CVE-2025-12790: MQTT does not validate hostnames

Affects mqttSource GCVE Database

0
Compare
Authoritative record:CVE-2025-12790· High 7.4

Not known to be exploited · CVSS 7.4 High : upgrade to 0.7.0 soon.

Data as of 4 Nov 2026, 18:38 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.7.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Upgrade mqtt to 0.7.0.

Affected software

ProductAffectedFixed in
RubyGemsmqttAffected
  • <0.7.0
Fixed in
  • 0.7.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Rubygem MQTT version 0.7.0. Users should upgrade to version 0.7.0 or later to remediate this vulnerability. Red Hat notes that no effective mitigation other than upgrading currently meets their criteria for ease of use and deployment. In environments where MQTT is used locally (e.g., Red Hat Satellite), the impact is low.

Description

A vulnerability in the Rubygem MQTT package prior to version 0.7.0 allows for possible Man-in-the-Middle (MITM) attacks due to lack of hostname validation by default. This flaw could enable attackers to intercept or modify communications. The issue is fixed in version 0.7.0. Red Hat notes that in their Satellite product the impact is low because the MQTT gem is used only locally between components on the same machine. No known exploits are reported in the wild.

References

Community reviews

Loading reviews…