{"cve":"CVE-2018-10875","nvd":{"published":"2018-07-13T22:29:00.220","modified":"2026-06-17T01:34:49.023","status":"Modified","description":"A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-426"],"references":["http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html","http://www.securitytracker.com/id/1041396","https://access.redhat.com/errata/RHBA-2018:3788","https://access.redhat.com/errata/RHSA-2018:2150","https://access.redhat.com/errata/RHSA-2018:2151"],"products":["canonical:ubuntu_linux","debian:debian_linux","redhat:ansible_engine","redhat:ceph_storage","redhat:gluster_storage","redhat:openshift","redhat:openstack","redhat:virtualization","redhat:virtualization_host","suse:package_hub"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2018-10875","score":0.00592,"percentile":0.48328,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fc4h-467w-46rh","url":"https://osv.dev/vulnerability/GHSA-fc4h-467w-46rh","summary":"Ansible Arbitrary Code Execution","modified":"2024-09-05T00:55:46.930897Z","packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":["<2.4.6.0"],"fixed":["2.4.6.0"]},{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.5.0a1 <2.5.6"],"fixed":["2.5.6"]},{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.6.0a1 <2.6.1"],"fixed":["2.6.1"]}]},{"id":"PYSEC-2018-43","url":"https://osv.dev/vulnerability/PYSEC-2018-43","summary":"","modified":"2026-06-10T17:00:17.175190234Z","packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.5 <2.5.6",">=2.4 <2.4.6.0",">=2.6 <2.6.1"],"fixed":["2.5.6","2.4.6.0","2.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}