# CVE-2023-1786: sensitive data exposure in cloud-init logs

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-04-26 · Modified: 2025-02-13
- Aliases: SUSE-SU-2024:0128-1, RHSA-2023:6371, RHSA-2023:6943, UBUNTU-CVE-2023-1786, USN-6042-1, DEBIAN-CVE-2023-1786, ALPINE-CVE-2023-1786
- Record: https://cvemate.com/vulnerability/CVE-2023-1786 · JSON: https://cvemate.com/vulnerability/CVE-2023-1786/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.263%, percentile 19.406%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine cloud-init (Alpine Linux): \< 23.1.2-r0
- canonical ltd. cloud-init: \< 23.1.2
- canonical cloud-init: \< 23.1.2
- canonical ubuntu\_linux: 16.04 \| 18.04 \| 20.04 \| 22.04 \| 22.10 \| 23.04
- debian cloud-init (Debian): All versions (No fix recorded) \| \< 23.2-1
- ubuntu cloud-init (Ubuntu): \< 21.1-19-gbad84ad4-0ubuntu1~16.04.4 \| \< 23.1.2-0ubuntu0~18.04.1 \| \< 23.1.2-0ubuntu0~20.04.1 \| \< 23.1.2-0ubuntu0~22.04.1
- fedoraproject fedora: 38
- opensuse cloud-init&distro=openSUSE Leap 15.4 (openSUSE): \< 23.3-150100.8.71.1
- opensuse cloud-init&distro=openSUSE Leap 15.5 (openSUSE): \< 23.3-150100.8.71.1
- redhat cloud-init (Red Hat): \< 0:23.1.1-11.el9 \| \< 0:23.1.1-10.el8
- suse cloud-init&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP1 (SUSE Linux Enterprise): \< 23.3-150100.8.71.1
- suse cloud-init&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP2 (SUSE Linux Enterprise): \< 23.3-150100.8.71.1
- suse cloud-init&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP3 (SUSE Linux Enterprise): \< 23.3-150100.8.71.1
- suse cloud-init&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4 (SUSE Linux Enterprise): \< 23.3-150100.8.71.1
- suse cloud-init&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5 (SUSE Linux Enterprise): \< 23.3-150100.8.71.1

## References (first 20 of 33)

- <https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b>
- <https://bugs.launchpad.net/cloud-init/+bug/2013967>
- <https://ubuntu.com/security/notices/USN-6042-1>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20240128-1/>
- <https://bugzilla.suse.com/1198269>
- <https://bugzilla.suse.com/1201010>
- <https://bugzilla.suse.com/1214169>
- <https://bugzilla.suse.com/1215740>
- <https://bugzilla.suse.com/1215794>
- <https://bugzilla.suse.com/1216007>
- <https://bugzilla.suse.com/1216011>
- <https://www.suse.com/security/cve/CVE-2023-1786>
- <https://access.redhat.com/errata/RHSA-2023:6371>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2179017>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2182948>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2188388>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2190079>

---

Data as of 2026-12-05T02:35:55.202Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
