← Vulnerability feed

Vulnerability record · CVE-2018-16859 · published 29 November 2018

CVE-2018-16859: Redhat ansible engine sensitive information in log file vulnerability

Redhat · Ansible Engine

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.

4.4 CVSS 3.0 Medium EPSS 0.54% · top 56.6% CWE-532 · Sensitive information in log file
4.4CVSS 3.0 base score, v2 2.1
0.54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
20References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-16859 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2017-7481Redhat openshift container platform improper input validation vulnerabilityAnsible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of looku…EPSS 4.8%9.8CVE-2018-7750Paramiko improper authentication vulnerabilitytransport.py in the SSH server implementation of Paramiko before 1.17.6, 1.18.x before 1.18.5, 2.0.x before 2.0.8, 2.1.x before 2.1.5, 2.2.x before 2…EPSS 27%7.8CVE-2020-1737Redhat ansible engine path traversal vulnerabilityA flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as t…EPSS 0.37%7.8CVE-2019-14846Redhat ansible engine sensitive information in log file vulnerabilityIn Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG level whi…EPSS 0.51%7.8CVE-2018-16837Redhat ansible engine missing encryption vulnerabilityAnsible "User" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases c…EPSS 0.37%7.8CVE-2018-10875Redhat ansible engine untrusted search path vulnerabilityA flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module pat…EPSS 0.59%7.8CVE-2018-10874Redhat ansible engine untrusted search path vulnerabilityIn ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's con…EPSS 0.49%7.5CVE-2021-20228Redhat ansible engine information exposure vulnerabilityA flaw was found in the Ansible Engine 2.9.18, where sensitive info is not masked by default and is not protected by the no_log feature when using th…EPSS 2.1%

Source: NIST National Vulnerability Database (record CVE-2018-16859), CISA KEV, FIRST EPSS (scores of 2026-10-03). This page is refreshed as NVD updates the record.