CVE-2023-4237: Red Hat Ansible Automation Platform

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Red Hat Ansible Automation Platform: version 2.0 only
  • Red Hat Ansible Collection: any version

Published 2023-10-04. Last modified 2026-06-17.