Skip to content
OpenAdvisories
High · 7.3 CVE-2023-4237 EUVD-2023-2834GHSA-ww3m-ffrm-qvqvPYSEC-2026-1125

Platform: ec2_key module prints out the private key directly to the standard output

Published Oct 4, 2023 · Updated Feb 25, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8 — —
Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 9.4.0+dfsg-1 —
Debian 13 ansible 9.4.0+dfsg-1 —
Debian 12 ansible 7.7.0+dfsg-3+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ansible +1 No fix yet —
Ubuntu 26.04 LTS ansible +1 No fix yet —
Ubuntu 25.10 ansible +1 No fix yet —
Ubuntu 24.04 LTS ansible +1 No fix yet —
Ubuntu 22.04 LTS ansible-core No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS ansible No fix yet —
Ubuntu Pro 20.04 LTS ansible No fix yet —
Ubuntu Pro 18.04 LTS ansible No fix yet —
Ubuntu Pro 16.04 LTS ansible No fix yet —
Ubuntu Pro 14.04 LTS ansible No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible-core >= 2.8.0, <= 2.15.2 — GHSA-ww3m-ffrm-qvqv

Advisories 1

References