ADVISORIES

Vulnerability

CVE-2023-4237

A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2023-4237

    A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the…

    CVE-2023-4237 Debian Updated 26 October 2026
  • GHSA-ww3m-ffrm-qvqv

    Ansible may expose private key

    Moderate CVE-2023-4237 PyPI Updated 10 September 2026
  • PYSEC-2026-1125

    Ansible may expose private key

    CVE-2023-4237 PyPI Updated 7 July 2026
  • UBUNTU-CVE-2023-4237

    A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the…

    CVE-2023-4237 Ubuntu Updated 17 October 2026

References