CVE-2018-10874
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.49%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.49% probability · 42th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-426, CWE-20
- Affected
- redhat/ansible engine · redhat/openstack · redhat/virtualization · redhat/virtualization host
- Source
- secalert@redhat.com
EPSS 0.5% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://www.securitytracker.com/id/1041396Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2018:3788Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2150Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2151Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2152Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2166Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2321Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2585Vendor Advisory
- https://access.redhat.com/errata/RHSA-2019:0054Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874Issue Tracking, Vendor Advisory
- https://usn.ubuntu.com/4072-1/
- http://www.securitytracker.com/id/1041396Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2018:3788Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2150Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2151Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2152Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2166Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2321Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2585Vendor Advisory
- https://access.redhat.com/errata/RHSA-2019:0054Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874Issue Tracking, Vendor Advisory
- https://usn.ubuntu.com/4072-1/
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.