Home / Canonical / cloud-init / CVE-2018-10896
CVE-2018-10896: is it exploited, and which versions of Canonical cloud-init are affected and fixed?
CVE-2018-10896 is a hard-coded cryptographic key vulnerability in Canonical cloud-init. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: cloud-init 0.6.2 (CVE record by redhat). Fixed in 18.4 (NVD). Severity: Medium (4.6, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:30 UTC.
What is CVE-2018-10896?
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 created by cloning a golden master or template system, sharing ssh host keys, and being able to impersonate one another or conduct man-in-the-middle attacks.
From the CVE record by redhat, last updated August 5, 2024, 07:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical | cloud-init | 0.6.2 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | cloud-init | from 0.6.2 before 18.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:34 UTC.
How severe is CVE-2018-10896?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | redhat |
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD |
| Low 3.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-10896 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-321 Use of Hard-coded Cryptographic Key
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896 x_refsource_CONFIRM
- https://bugs.launchpad.net/cloud-init/+bug/1781094 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1574338 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 9, 2018
- Published
- August 1, 2018, 17:00 UTC
- CVE record updated
- August 5, 2024, 07:54 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:34 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:30 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cloud-init?
- Jun 26, 2025CVE-2024-11584 Canonical cloud-init: incorrect permissions on a critical resource
- Jun 26, 2025CVE-2024-6174 Canonical cloud-init: authentication bypass (improper authentication)
- Apr 26, 2023CVE-2023-1786 Canonical Ltd. cloud-init: sensitive information written to log files
- Apr 19, 2023CVE-2022-2084 Canonical Ltd. cloud-init: sensitive information written to log files
- Apr 19, 2023CVE-2021-3429 Canonical Ltd. cloud-init: sensitive information written to log files
- Feb 5, 2020CVE-2020-8632 Canonical Cloud-init: weak password requirements
- Feb 5, 2020CVE-2020-8631 Canonical Cloud-init: weak randomness
Questions about CVE-2018-10896
Is CVE-2018-10896 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical cloud-init are affected by CVE-2018-10896?
cloud-init 0.6.2, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-10896?
18.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-10896?
Medium (4.6, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-10896?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.