CVE-2024-6174: When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address
CVE-2024-6174 is a high-severity flaw (CVSS 8.8) affecting cloud-init. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address. To prevent this, cloud-init default configurations disable platform enumeration.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 82%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2025-06-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6174?
cloud-init: upgrade to 25.1.3. Exact commands for each OS are on this page.
Is CVE-2024-6174 being exploited?
CVE-2024-6174 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6174 affect?
CVE-2024-6174 affects cloud-init. Severity is high (CVSS 8.8). When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address. To prevent this, cloud-init default configurations disable platform enumeration.
How urgent is CVE-2024-6174?
Priority 35/100. High severity
Related CVEs
- CVE-2024-11584 MEDIUM 5.9 UPGRADE cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode