Description
Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | ansible | Ansible 2.4.5, Ansible 2.5.5 | — |
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 | 2.5.5+dfsg-1 | — |
| Debian 13 | ansible | 2.5.5+dfsg-1 | — |
| Debian 12 | ansible | 2.5.5+dfsg-1 | — |
| Debian 9 | ansible | 2.2.1.0-2+deb9u1 | DSA-4396-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ansible | 2.5.1+dfsg-1ubuntu0.1 | USN-4072-1 |
| Ubuntu 16.04 LTS | ansible | 2.0.0.2-2ubuntu1.3 | USN-4072-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | imgbased +1 | 1.0.20-0.1.el7ev | RHSA-2018:2079 |
| RHEL 7 | redhat-release-virtualization-host +1 | 4.2-4.3.el7 | RHSA-2018:2079 |
| RHEL 7 | redhat-virtualization-host +1 | 4.2-20180622.0.el7_5 | RHSA-2018:2079 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 13 | ansible | 2.4.6.0-1.el7ae | RHSA-2018:2585 |
| Red Hat OpenStack 12 | ansible | 2.4.6.0-1.el7ae | RHBA-2018:3788 |
| Red Hat OpenStack 12 | ansible-role-redhat-subscription | 1.0.1-4.el7ost | RHBA-2018:3788 |
| Red Hat OpenStack 10 | ansible | 2.4.6.0-1.el7ae | RHSA-2019:0054 |
| Red Hat CloudForms 5 | ansible +1 | 2.4.5.0-1.el7ae | RHSA-2018:2184 |
| Red Hat CloudForms 5 | ansible-tower +5 | 3.2.5-1.el7at | RHSA-2018:2184 |
| Red Hat CloudForms 5 | cfme +5 | 5.9.3.4-1.el7cf | RHSA-2018:2184 |
| Red Hat CloudForms 5 | httpd-configmap-generator | 0.2.2-1.1.el7cf | RHSA-2018:2184 |
| Red Hat Ansible Engine 2 | ansible +1 | 2.4.5.0-1.el7ae | RHSA-2018:2022, RHSA-2018:1949, RHSA-2018:1948 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 | ansible | 2.7.6-bp150.3.3.1 | openSUSE-SU-2019:0238-1 |
| SUSE OpenStack Cloud Crowbar 8 | ansible | 2.4.6.0-3.3.1 | SUSE-SU-2018:4130-1 |
| SUSE OpenStack Cloud 8 | ansible | 2.4.6.0-3.3.1 | SUSE-SU-2018:4130-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE HPE Helion OpenStack 8 | ansible | 2.4.6.0-3.3.1 | SUSE-SU-2018:4130-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ansible-10 | 10.6.0-1.1 | openSUSE-SU-2024:14536-1 |
| openSUSE Tumbleweed | ansible-11 | 11.11.0-1.1 | openSUSE-SU-2025:15605-1 |
| openSUSE Tumbleweed | ansible-12 | 12.2.0-1.1 | openSUSE-SU-2025:15753-1 |
| openSUSE Tumbleweed | ansible-13 | 13.7.0-1.1 | openSUSE-SU-2026:10944-1 |
| openSUSE Tumbleweed | ansible-14 | 14.6.0-1.1 | openSUSE-SU-2026:12447-1 |
| openSUSE Tumbleweed | ansible-9 | 9.8.0-1.1 | openSUSE-SU-2024:14244-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.7 | ansible | 2.4.6.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ansible | >= 2.5.0a1, < 2.5.5 | 2.5.5 | GHSA-jwcc-j78w-j73w |
| PyPI | ansible | >= 2.4.0.0, < 2.4.5.0 | 2.4.5.0 | GHSA-jwcc-j78w-j73w |
| PyPI | ansible | >= 2.5, < 2.5.5 · >= 2.4, < 2.4.5.0 | 2.5.5, 2.4.5.0 | PYSEC-2018-42 |
Advisories 19
- openSUSE-SU-2026:12447-1 ansible-14-14.6.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026
- RHSA-2019:0054 Red Hat Security Advisory: ansible security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2585 Red Hat Security Advisory: ansible security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2184 Red Hat Security Advisory: CloudForms 4.6.3 bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2079 Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2022 Red Hat Security Advisory: ansible security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:1948 Red Hat Security Advisory: ansible security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:1949 Red Hat Security Advisory: ansible security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHBA-2018:3788 Red Hat Bug Fix Advisory: Red Hat OpenStack Platform 12 Bug Fix and Enhancement Advisory Red Hat Security Advisories (RHSA) · Jul 1, 2026
- WID-SEC-2026-1809 Red Hat Enterprise Linux Virtualization (Ansible) : Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 7, 2026
- openSUSE-SU-2026:10944-1 ansible-13-13.7.0-1.1 on GA media SUSE / openSUSE Security Updates · Jun 4, 2026
- USN-4072-1 ansible vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2025:15605-1 ansible-11-11.11.0-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-4396-1 ansible - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:4130-1 Security update for ansible SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15753-1 ansible-12-12.2.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:0238-1 Security update for ansible SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14536-1 ansible-10-10.6.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14244-1 ansible-9-9.8.0-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- RHSA-2018:1949 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855
- RHBA-2018:3788 vendor-advisory
- RHSA-2018:1948 vendor-advisory
- RHSA-2018:2184 vendor-advisory
- RHSA-2018:2022 vendor-advisory
- RHSA-2019:0054 vendor-advisory
- RHSA-2018:2079 vendor-advisory
- RHSA-2018:2585 vendor-advisory
- DSA-4396 vendor-advisory
- USN-4072-1 vendor-advisory