Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-16859
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:04 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-16859
Complete source record
{
"id": "988aee2f947bce6e063e3d32a4adb9c961c150845c3ae7fb1f12e4c1797737b5",
"url": "https://osv.dev/vulnerability/CVE-2018-16859",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-16859",
"summary": "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.",
"evidence": "osv:CVE-2018-16859",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-16859",
"aliases": [
"CVE-2018-16859",
"GHSA-v735-2pp6-h86r",
"PYSEC-2018-60"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ansible/ansible",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ceae26e5e9b73575a8a397101617b11a5c2ce7d5"
},
{
"introduced": "8ce3bd6deaa0a0274a921c0137cbd804ffc312d0"
},
{
"fixed": "e459665d3bad1603fa6cc52ad412df7871809c37"
},
{
"introduced": "0a07068054090d5b78b27496aa251be74c484b45"
},
{
"fixed": "81879e97925921da225e0fd6010516f765d18d86"
},
{
"introduced": "a771ed93ab09691e53184c809d88a0f1073ef82d"
},
{
"last_affected": "2611867fd1dc387ceaa0ffb8ce0f030aafc2a859"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.5.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.6.0"
},
{
"fixed": "2.6.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.5"
},
{
"last_affected": "2.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.8.0",
"v2.8.0rc3",
"v2.8.0rc2",
"v2.8.0rc1",
"v2.8.0b1",
"v2.8.0a1",
"v2.5.12",
"v2.7.3",
"v2.6.9",
"v2.6.8",
"v2.7.2",
"v2.5.11",
"v2.6.7",
"v2.7.1",
"v2.6.6",
"v2.7.0",
"v2.5.10",
"v2.6.5",
"v2.5.9",
"v2.6.4",
"v2.7.0.a1",
"v2.5.8",
"v2.6.3",
"v2.5.7",
"v2.6.2",
"v2.5.6",
"v2.6.1",
"v2.6.0",
"v2.5.5",
"v2.5.4",
"v2.6.0a1",
"v2.5.3",
"v2.5.2",
"v2.5.1",
"v2.5.0",
"v2.5.0rc3",
"v2.5.0rc2",
"v2.5.0rc1",
"v2.5.0b2",
"v2.5.0b1",
"v2.0.0-0.5.beta3",
"v2.0.0-0.4.beta2",
"v2.0.0-0.3.beta1",
"v2.0.0-0.2.alpha2",
"v2.0.0-0.1.alpha1",
"v1.6.0",
"v1.4.0",
"v1.2",
"v1.1",
"v1.0",
"0.7",
"0.3",
"0.0.1",
"0.01"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16859.json"
}
}
],
"modified": "2026-10-20T10:49:52.325083623Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2018:3770",
"https://access.redhat.com/errata/RHSA-2018:3771",
"https://access.redhat.com/errata/RHSA-2018:3773",
"https://access.redhat.com/errata/RHSA-2018:3772",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859",
"https://github.com/ansible/ansible/pull/49142"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-16859",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380897,
"published_at": "2018-11-29T18:29:00.537+00:00"
}