CVE-2018-10896
The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0"...
CVE-2018-10896 is a medium vulnerability (CVSS 4.6) in Canonical Cloud-init, published August 1, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in cloud-init 0:19.4-1.el8.7.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.6
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.
- Record
CVE-2018-10896- CVSS 3.0
- 4.6 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-321
- Updated
- 2026-11-02
EUVDEUVD-2018-2955
4.6
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.
- Record
EUVD-2018-2955- CVSS 3.0
- 4.6 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rwhw-r234-9p3m
7.1
The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0"...
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.
- Record
GHSA-rwhw-r234-9p3m- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-321
- Updated
- 2026-11-02
NVD
7.1
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.
- Record
CVE-2018-10896- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 3.0
- 4.6 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.6 Low
AV:L/AC:L/Au:N/C:P/I:P/A:N - Weakness
- CWE-321
- Updated
- 2026-11-02
OSV
7.1
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.
- Record
CVE-2018-10896- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2020:3050
4.6
Red Hat Security Advisory: cloud-init security, bug fix, and enhancement update
- Record
RHSA-2020:3050- CVSS 3.0
- 4.6 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVRHSA-2020:3644
4.6
Red Hat Security Advisory: cloud-init security update
- Record
RHSA-2020:3644- CVSS 3.0
- 4.6 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVRHSA-2020:3898
8.1
Red Hat Security Advisory: cloud-init security, bug fix, and enhancement update
- Record
RHSA-2020:3898- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cloud-initRed Hat:enterprise_linux:8::appstream |
before 0:19.4-1.el8.7 | 0:19.4-1.el8.7 |
cloud-initRed Hat:rhel_eus:8.2::appstream |
before 0:18.5-12.el8_2.3 | 0:18.5-12.el8_2.3 |
cloud-initRed Hat:enterprise_linux:7::server |
before 0:19.4-7.el7 | 0:19.4-7.el7 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896
bugs.launchpad.net/cloud-init/+bug/1781094
bugzilla.redhat.com/show_bug.cgi?id=1574338
nvd.nist.gov/vuln/detail/CVE-2018-10896
access.redhat.com/errata/RHSA-2020:3050
access.redhat.com/errata/RHSA-2020:3644
Show 29 moreShow less
access.redhat.com/errata/RHSA-2020:3898
access.redhat.com/security/cve/CVE-2018-10896
bugzilla.redhat.com/show_bug.cgi?id=1598831
github.com/advisories/GHSA-rwhw-r234-9p3m
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.2_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1811912
bugzilla.redhat.com/show_bug.cgi?id=1831646
bugzilla.redhat.com/show_bug.cgi?id=1844366
bugzilla.redhat.com/show_bug.cgi?id=1850456
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3050.json
cve.org/CVERecord?id=CVE-2018-10896
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3644.json
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.9_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1748015
bugzilla.redhat.com/show_bug.cgi?id=1772505
bugzilla.redhat.com/show_bug.cgi?id=1793652
bugzilla.redhat.com/show_bug.cgi?id=1798728
bugzilla.redhat.com/show_bug.cgi?id=1798731
bugzilla.redhat.com/show_bug.cgi?id=1803094
bugzilla.redhat.com/show_bug.cgi?id=1821679
bugzilla.redhat.com/show_bug.cgi?id=1821999
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3898.json
access.redhat.com/security/cve/CVE-2020-8631
cve.org/CVERecord?id=CVE-2020-8631
nvd.nist.gov/vuln/detail/CVE-2020-8631
access.redhat.com/security/cve/CVE-2020-8632
cve.org/CVERecord?id=CVE-2020-8632
nvd.nist.gov/vuln/detail/CVE-2020-8632