ADVISORIES

PyPA Advisory Database

PYSEC-2026-768

Ansible leaks password to logs

Details

A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.

Affected packages

EcosystemPackageAffected versions
PyPIansible
From 2.5.0 before 7.0.0 (fixed in 7.0.0)

References