PYSEC-2026-1125

vendorUSosv

Ansible may expose private key

view advisory published 2026-07-07Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2023-4237UShigh7.8—
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…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan