Advisory

GHSA-ww3m-ffrm-qvqv

Also known as: CVE-2023-4237, PYSEC-2026-1125

Summary

Ansible may expose private key

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-10-04 15:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

ansible-core

PyPI · All systems

Affected

  • introduced 2.8.0, last affected 2.15.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences