{"api_version":"1","generated_at":"2026-05-10T21:26:14+00:00","cve":"CVE-2018-16859","urls":{"html":"https://cve.report/CVE-2018-16859","api":"https://cve.report/api/cve/CVE-2018-16859.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-16859","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-16859"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-11-29 18:29:00","updated_at":"2019-04-03 09:29:00"},"problem_types":["CWE-532"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/106004","name":"106004","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Ansible Playbooks CVE-2018-16859 Plaintext Password Information Disclosure Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html","name":"openSUSE-SU-2019:1858","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1858-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html","name":"openSUSE-SU-2019:1635","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1635-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","refsource":"CONFIRM","tags":["Issue Tracking","Vendor Advisory"],"title":"1649607 – (CVE-2018-16859) CVE-2018-16859 ansible: become password logged in plaintext when used with PowerShell on Windows","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ansible/ansible/pull/49142","name":"https://github.com/ansible/ansible/pull/49142","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"split PS wrapper and payload by nitzmahone · Pull Request #49142 · ansible/ansible · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:3772","name":"RHSA-2018:3772","refsource":"REDHAT","tags":["Issue Tracking","Vendor Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html","name":"openSUSE-SU-2019:1125","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1125-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:3770","name":"RHSA-2018:3770","refsource":"REDHAT","tags":["Vendor Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:3773","name":"RHSA-2018:3773","refsource":"REDHAT","tags":["Vendor Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:3771","name":"RHSA-2018:3771","refsource":"REDHAT","tags":["Vendor Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-16859","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16859","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"16859","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_engine","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"16859","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_engine","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"16859","vulnerable":"1","versionEndIncluding":"2.8","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_engine","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-16859","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ansible","version":{"version_data":[{"version_value":"2.8 and older"}]}}]},"vendor_name":"Red Hat"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"4.2/CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-532"}]}]},"references":{"reference_data":[{"name":"https://github.com/ansible/ansible/pull/49142","refsource":"CONFIRM","url":"https://github.com/ansible/ansible/pull/49142"},{"name":"RHSA-2018:3770","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3770"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859"},{"name":"RHSA-2018:3771","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3771"},{"name":"106004","refsource":"BID","url":"http://www.securityfocus.com/bid/106004"},{"name":"RHSA-2018:3773","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3773"},{"name":"RHSA-2018:3772","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3772"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1125","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1635","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1858","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]}},"nvd":{"publishedDate":"2018-11-29 18:29:00","lastModifiedDate":"2019-04-03 09:29:00","problem_types":["CWE-532"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":0.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","versionEndExcluding":"2.5.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.0","versionEndExcluding":"2.6.10","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","versionStartIncluding":"2.7.0","versionEndExcluding":"2.7.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","versionStartIncluding":"2.7.5","versionEndIncluding":"2.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"16859","Ordinal":"133670","Title":"CVE-2018-16859","CVE":"CVE-2018-16859","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"16859","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"16859","Ordinal":"2","NoteData":"2018-11-29","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"16859","Ordinal":"3","NoteData":"2019-08-14","Type":"Other","Title":"Modified"}]}}}