Canonical Cloud-Init vulnerabilities
9 CVEs affecting Canonical Cloud-Init, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2024-6174, published 2025-06-26.
More from Canonical.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2012-6639, published 2019-11-25. High severity, CVSS 8.8. EPSS: 2.0% probability of exploitation activity in the next 30 days. An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are submitted for EC2 instance data.
- CVE-2020-8631, published 2020-02-05. Medium severity, CVSS 5.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because rand_str in cloudinit/util.py calls the random.choice…
- CVE-2024-6174, published 2025-06-26. High severity, CVSS 8.8. EPSS: 0.4% probability of exploitation activity in the next 30 days. 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.
- CVE-2020-8632, published 2020-02-05. Medium severity, CVSS 5.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.
- CVE-2018-10896, published 2018-08-01. High severity, CVSS 7.1. EPSS: 0.4% probability of exploitation activity in the next 30 days. The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh host keys. In some environments, this could lead to instances…
- CVE-2023-1786, published 2023-04-26. Medium severity, CVSS 5.5. EPSS: 0.3% probability of exploitation activity in the next 30 days. Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to find hashed passwords and possibly escalate their privilege.
- CVE-2022-2084, published 2023-04-19. Medium severity, CVSS 5.5. EPSS: 0.3% probability of exploitation activity in the next 30 days. Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- CVE-2024-11584, published 2025-06-26. Medium severity, CVSS 5.3. EPSS: 0.2% probability of exploitation activity in the next 30 days. cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. This is used for the…
- CVE-2021-3429, published 2023-04-19. Medium severity, CVSS 5.5. EPSS: 0.2% probability of exploitation activity in the next 30 days. When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could…