CVE-2018-16859Redhat Ansible Engine
Medium 4.4
Follow: this CVE · Redhat · Redhat Ansible Engine We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.0
- 4.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 47
- Auth required
- Yes
- Published
- Nov 29, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- Vector
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
What happens
Execution of Ansible playbooks on Windows platforms with PowerShell ScriptBlock logging and Module logging enabled can allow for 'become' passwords to appear in EventLogs in plaintext. A local user with administrator privileges on the machine can view these logs and discover the plaintext password. Ansible Engine 2.8 and older are believed to be vulnerable.
What to do
- Apply the vendor's security update for Ansible Engine.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
≥ 2.7.0a1 < 2.7.3 |
2.7.3 |
pip install "ansible>=2.7.3" |
| PyPI | ansible |
< 2.5.12 |
2.5.12 |
pip install "ansible>=2.5.12" |
| PyPI | ansible |
≥ 2.6.0a1 < 2.6.9 |
2.6.9 |
pip install "ansible>=2.6.9" |
| PyPI | ansible |
≥ 2.7.0 < 2.7.4 |
2.7.4 |
pip install "ansible>=2.7.4" |
| PyPI | ansible |
≥ 2.7.5 < 2.8.1 |
2.8.1 |
pip install "ansible>=2.8.1" |
| PyPI | ansible |
< 2.5.13 |
2.5.13 |
pip install "ansible>=2.5.13" |
| PyPI | ansible |
≥ 2.6.0 < 2.6.10 |
2.6.10 |
pip install "ansible>=2.6.10" |
Per OSV / GitHub Advisories (GHSA-v735-2pp6-h86r, PYSEC-2018-60). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible_engine | < 2.5.13 |
| redhat | ansible_engine | ≥ 2.6.0 < 2.6.10 |
| redhat | ansible_engine | ≥ 2.7.0 < 2.7.4 |
| redhat | ansible_engine | ≥ 2.7.5 ≤ 2.8 |
Official advisories
- ansible-14-14.6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12447-1 · Nov 6, 2026 Critical
- ansible-13-13.7.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10944-1 · Jun 3, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Issue Tracking Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Patch Third Party Advisory