EC2 private-key disclosure via standard output
Published Oct 4, 2023 · Updated Feb 25, 2026
Sensitive information exposure in the ec2_key module in Red Hat Ansible Automation Platform allows local users to obtain EC2 private keys. When it creates a keypair, the module writes the private key to standard output, where automation or CI logging can retain it without a documented suppression control. Access requires permission to read the captured logs; the exposed key enables authentication to associated EC2 resources.
Summary
What happened
Sensitive information exposure in the ec2_key module in Red Hat Ansible Automation Platform allows local users to obtain EC2 private keys. When it creates a keypair, the module writes the private key to standard output, where automation or CI logging can retain it without a documented suppression control. Access requires permission to read the captured logs; the exposed key enables authentication to associated EC2 resources.
The record
- CVE
- CVE-2023-4237
- Published
- Oct 4, 2023
- Updated
- Feb 25, 2026
- Vendor
- 389 Directory Server
- Product
- Red Hat Ansible Automation Platform
- Classifications
- CWE-497, T1552.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 4, 2023CVE publishedPublication date reported by the CVE source.
- Feb 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo