Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | ansible, ansible community.aws, ansible amazon.aws | ansible from 2.5.0 before 2.10, ansible community.aws before 2.0.0, ansible amazon.aws from 2.1.0 before 5.1.0 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ansible | 7.0.0+dfsg-1 | — |
| Debian 13 | ansible | 7.0.0+dfsg-1 | — |
| Debian 12 | ansible | 7.0.0+dfsg-1 | — |
| Debian 10 | ansible | 2.7.7+dfsg-1+deb10u2 | DLA-3695-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ansible-core | No fix yet | — |
| Ubuntu 26.04 LTS | ansible-core | No fix yet | — |
| Ubuntu 25.10 | ansible-core | No fix yet | — |
| Ubuntu 24.04 LTS | ansible-core | No fix yet | — |
| Ubuntu 22.04 LTS | ansible-core | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ansible | 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4 | USN-6846-1 |
| Ubuntu Pro 20.04 LTS | ansible | 2.9.6+dfsg-1ubuntu0.1~esm2 | USN-6846-1 |
| Ubuntu Pro 18.04 LTS | ansible | 2.5.1+dfsg-1ubuntu0.1+esm2 | USN-6846-1 |
| Ubuntu Pro 16.04 LTS | ansible | 2.0.0.2-2ubuntu1.3+esm2 | USN-6846-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ansible | >= 2.5.0, < 7.0.0 | 7.0.0 | GHSA-cpx3-93w7-457x |
Advisories 3
- USN-6846-1 ansible vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3695-1 ansible - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2022-1899 Ansible: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Feb 12, 2025