CVE-2025-12790
published high CVSS 3.1 · 7.4Rubygem-mqtt: rubygem-mqtt hostname validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nicholas J Humfrey | — | ruby-mqtt0 to < 0.7.0 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | rubygem-mqttRed Hat Satellite 6 | Affected | Not stated | redhat |
| Red Hat | — | satellite:el8/rubygem-mqttRed Hat Satellite 6 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nicholas J Humfrey | ruby-mqtt | 0 to < 0.7.0 (affected · semver)Default: unaffected | redhat · cna |
| Red Hat | Red Hat Satellite 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Satellite 6 | Default: affected | redhat · cna |
Weaknesses
1- CWE-29 Path Traversal: '..filename'
References
3- https://access.redhat.com/security/cve/CVE-2025-12790
- RHBZ#2413004 https://bugzilla.redhat.com/show_bug.cgi?id=2413004
- https://github.com/njh/ruby-mqtt/blob/main/NEWS.md#ruby-mqtt-version-070-2025-10-29
Provider assertions
2redhat · cna
Rubygem-mqtt: rubygem-mqtt hostname validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 925b140e0283550dbec16a143fbf93f55615d40caa8bd6f72e173fadcc3c7a54
- Ingested
- 23 Sep 2026, 08:36:53 UTC
- Source record
- Official CVE record