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

- Severity: Medium 5.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2023-04-26T22:23:47.305Z
- Modified: 2026-06-17T05:28:45.157Z
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## Description

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.

(As written by CVE List.)

## Affected

- cloud-init: before 23.1.2
- canonical cloud-init: before 23.1.2
- canonical ubuntu_linux: 16.04; 18.04; 20.04; 22.04; 22.10; 23.04
- fedoraproject fedora: 38

## Every score

- canonical: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b> (patch)
- <https://bugs.launchpad.net/cloud-init/+bug/2013967> (issue-tracking)
- <https://ubuntu.com/security/notices/USN-6042-1> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2023-1786](https://www.cve.org/CVERecord?id=CVE-2023-1786), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-1786](https://nvd.nist.gov/vuln/detail/CVE-2023-1786), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-1786 · Whole record: https://cve.day/CVE-2023-1786.json · Rebuilt by cve.day 2026-11-25T22:58:23.771Z
