CVE-2018-16859

Description

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.

Severity
MEDIUM
CVSS v3
4.2
CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
0.535%
chance of exploitation in the next 30 days
higher than 45.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2018-11-29Published by the CNA17:00 UTC
  2. 2022-05-14GitHub advisory published (GHSA-v735-2pp6-h86r)1262 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-v735-2pp6-h86r, affected packages:

PackageVulnerable versionsFixed in
PyPI ansiblebefore 2.5.122.5.12
PyPI ansiblefrom 2.6.0a1 before 2.6.92.6.9
PyPI ansiblefrom 2.7.0a1 before 2.7.32.7.3

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
redhat ansible_enginebefore 2.5.13fixed in 2.5.13from 2.6.0 before 2.6.10fixed in 2.6.10from 2.7.0 before 2.7.4fixed in 2.7.4from 2.7.5 through 2.8no fix listed2.5.132.6.102.7.4not listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources