CVE-2018-10896: Canonical Cloud-Init

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 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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Canonical Cloud-Init, from 0.6.2, before 18.4: fixed in 18.4

Affected products

Published 2018-08-01. Last modified 2026-06-17.