{"action":"Upgrade ansible to 2.4.6.0 or later.","affected":[{"fixed":"2.4.6.0","introduced":"0"},{"fixed":"2.5.6","introduced":"2.5"},{"fixed":"2.6.1","introduced":"2.6"}],"component":"ansible","cve_ids":["CVE-2018-10874"],"ecosystem":"PyPI","epss":0.00468,"exploited":false,"fixed_versions":["2.4.6.0","2.5.6","2.6.1"],"ghsa_id":"GHSA-3xvg-x47j-x75w","id":"tcs_01M5KG86ZN5YGTQQETC1PPVDTN","modified_at":"2026-06-10T17:00:18.520778072Z","published_at":"2018-07-02T13:29:00Z","references":["https://osv.dev/vulnerability/PYSEC-2018-81","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874","https://access.redhat.com/errata/RHSA-2018:2166","https://access.redhat.com/errata/RHSA-2018:2152","https://access.redhat.com/errata/RHSA-2018:2151","https://access.redhat.com/errata/RHSA-2018:2150","https://access.redhat.com/errata/RHSA-2018:2321","http://www.securitytracker.com/id/1041396","https://access.redhat.com/errata/RHSA-2018:2585","https://access.redhat.com/errata/RHBA-2018:3788","https://access.redhat.com/errata/RHSA-2019:0054","https://usn.ubuntu.com/4072-1/","https://github.com/advisories/GHSA-3xvg-x47j-x75w"],"severity":{"label":"high","score":7.8},"sources":[{"source":"osv","source_id":"PYSEC-2018-81","url":"https://osv.dev/vulnerability/PYSEC-2018-81"},{"source":"nvd","source_id":"CVE-2018-10874","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10874"}],"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."}