CVE-2025-12790 HIGH

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

Vendor Nicholas J Humfrey
Product ruby-mqtt
Weakness CWE-29
Published November 6, 2025
Last update February 26, 2026

CVSS base score

7.4/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 6, 2025 CVE published
February 26, 2026 Record updated