Live threats

All CVEs / Redhat

CVE-2018-16859Redhat Ansible Engine

Medium 4.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible Engine.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatansible_engine< 2.5.13
redhatansible_engine≥ 2.6.0 < 2.6.10
redhatansible_engine≥ 2.7.0 < 2.7.4
redhatansible_engine≥ 2.7.5 ≤ 2.8

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.