All reports
Medium

Ansible may expose private key

Affected versions

Version ranges need review.

Affected versions
>= 2.8.0, <= 2.15.2
Fixed version
Not reported
Affected versions
>=2.8.0 <=2.15.2
Fixed version
Not reported

Exploitation

CVE-2023-4237

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-21

Description

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.

Links