Search for vulnerabilities
Vulnerability details: VCID-hckn-mzmq-suga
Vulnerability ID VCID-hckn-mzmq-suga
Aliases CVE-2018-10874
GHSA-3xvg-x47j-x75w
PYSEC-2018-81
Summary In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
cvssv3.1 7.8 https://access.redhat.com/errata/RHBA-2018:3788
generic_textual HIGH https://access.redhat.com/errata/RHBA-2018:3788
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2018:2150
generic_textual HIGH https://access.redhat.com/errata/RHSA-2018:2150
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2018:2151
generic_textual HIGH https://access.redhat.com/errata/RHSA-2018:2151
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2018:2152
generic_textual HIGH https://access.redhat.com/errata/RHSA-2018:2152
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2018:2166
generic_textual HIGH https://access.redhat.com/errata/RHSA-2018:2166
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2018:2321
generic_textual HIGH https://access.redhat.com/errata/RHSA-2018:2321
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2018:2585
generic_textual HIGH https://access.redhat.com/errata/RHSA-2018:2585
cvssv3.1 7.8 https://access.redhat.com/errata/RHSA-2019:0054
generic_textual HIGH https://access.redhat.com/errata/RHSA-2019:0054
cvssv3 7.8 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10874.json
cvssv3.1 7.8 https://access.redhat.com/security/cve/CVE-2018-10874
generic_textual HIGH https://access.redhat.com/security/cve/CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
epss 0.00061 https://api.first.org/data/v1/epss?cve=CVE-2018-10874
cvssv3.1 7.8 https://bugzilla.redhat.com/show_bug.cgi?id=1596528
generic_textual HIGH https://bugzilla.redhat.com/show_bug.cgi?id=1596528
cvssv3.1 7.8 https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
generic_textual HIGH https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
cvssv3.1 7.8 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-3xvg-x47j-x75w
cvssv3.1 7.8 https://github.com/ansible/ansible
generic_textual HIGH https://github.com/ansible/ansible
cvssv3.1 7.8 https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7
generic_textual HIGH https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7
cvssv3.1 7.8 https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e
generic_textual HIGH https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e
cvssv3.1 7.8 https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb
generic_textual HIGH https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb
cvssv3.1 7.8 https://github.com/ansible/ansible/pull/42067
generic_textual HIGH https://github.com/ansible/ansible/pull/42067
cvssv3.1 7.8 https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml
cvssv2 4.6 https://nvd.nist.gov/vuln/detail/CVE-2018-10874
cvssv3 7.8 https://nvd.nist.gov/vuln/detail/CVE-2018-10874
cvssv3.1 7.8 https://nvd.nist.gov/vuln/detail/CVE-2018-10874
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2018-10874
cvssv3.1 7.8 https://usn.ubuntu.com/4072-1
generic_textual HIGH https://usn.ubuntu.com/4072-1
cvssv3.1 7.8 https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
generic_textual HIGH https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
Reference id Reference type URL
https://access.redhat.com/errata/RHBA-2018:3788
https://access.redhat.com/errata/RHSA-2018:2150
https://access.redhat.com/errata/RHSA-2018:2151
https://access.redhat.com/errata/RHSA-2018:2152
https://access.redhat.com/errata/RHSA-2018:2166
https://access.redhat.com/errata/RHSA-2018:2321
https://access.redhat.com/errata/RHSA-2018:2585
https://access.redhat.com/errata/RHSA-2019:0054
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10874.json
https://access.redhat.com/security/cve/CVE-2018-10874
https://api.first.org/data/v1/epss?cve=CVE-2018-10874
https://bugzilla.redhat.com/show_bug.cgi?id=1596528
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10874
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/ansible/ansible
https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7
https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e
https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb
https://github.com/ansible/ansible/pull/42067
https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml
https://nvd.nist.gov/vuln/detail/CVE-2018-10874
https://usn.ubuntu.com/4072-1
https://usn.ubuntu.com/4072-1/
https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
http://www.securitytracker.com/id/1041396
cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*
GHSA-3xvg-x47j-x75w https://github.com/advisories/GHSA-3xvg-x47j-x75w
No exploits are available.
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHBA-2018:3788
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2018:2150
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2018:2151
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2018:2152
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2018:2166
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2018:2321
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2018:2585
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/errata/RHSA-2019:0054
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10874.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/security/cve/CVE-2018-10874
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://bugzilla.redhat.com/show_bug.cgi?id=1596528
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/ansible/ansible
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/ansible/ansible/pull/42067
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2018-10874
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2018-10874
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2018-10874
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://usn.ubuntu.com/4072-1
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.19354
EPSS Score 0.00061
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:06:57.901826+00:00 Pypa Importer Import https://github.com/pypa/advisory-database/blob/main/vulns/ansible/PYSEC-2018-81.yaml 37.0.0