cve.bz

CVE-2025-12790 nicholas j humfrey ruby-mqtt: Path Traversal: '\..\filename'

7.4 highEPSS 0.6%Fix available

High (7.4) in nicholas j humfrey ruby-mqtt. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in mqtt 0.7.0.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.6% (up from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-11-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-29 Path Traversal: '\..\filename'
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • mqtt (RubyGems): fixed in 0.7.0

Ask an AI about this CVE

Show the promptExplain CVE-2025-12790 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-12790?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-12790?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-12790 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Nicholas J Humfrey ruby-mqttbefore 0.7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9c5q-w6gr-fxcqRubyGemsmqtt<0.7.00.7.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

Satellite only uses the mqtt gem to establish a connection between the "smart-proxy" and "mosquitto", which both run on the same machine. Hence the low impact.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Satellite 6rubygem-mqttFix deferred
Red Hat Satellite 6satellite:el8/rubygem-mqttFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-12790.

References

Check your stackJSON