Untrusted search path in [UNKNOWN] ansible
Priority LOW 35CWE-426Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 9 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-426.
Summary
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.
Why it matters now
EPSS 0.00587 48th percentileScored 2026-11-07
Fix Partial ansible (PyPI): 2.4.6.0, 2.5.6, 2.6.1Red Hat: 7 advisoriesRed Hat: 9 fixed, 4 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | ansible | all versions | — | No fix listed | CNA |
| — | ansible (PyPI) | before 2.4.6.0 | 2.4.6.0 | Patch available | GHSA-fc4h-467w-46rh |
| — | ansible (PyPI) | 2.5.0a1 to before 2.5.6 | 2.5.6 | Patch available | GHSA-fc4h-467w-46rh |
| — | ansible (PyPI) | 2.6.0a1 to before 2.6.1 | 2.6.1 | Patch available | GHSA-fc4h-467w-46rh |
- ansible Vendor[UNKNOWN] Affected all versions Fixed in — No fix listed CNA
- ansible (PyPI) Vendor— Affected before 2.4.6.0 Fixed in 2.4.6.0 Patch available GHSA-fc4h-467w-46rh
- ansible (PyPI) Vendor— Affected 2.5.0a1 to before 2.5.6 Fixed in 2.5.6 Patch available GHSA-fc4h-467w-46rh
- ansible (PyPI) Vendor— Affected 2.6.0a1 to before 2.6.1 Fixed in 2.6.1 Patch available GHSA-fc4h-467w-46rh
CPE configurations NVD · 20
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:* | 2.4 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* | 2.5 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* | 2.6 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:gluster_storage:3.0.0:*:*:*:*:*:*:* | 3.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openshift:3.0:*:*:*:enterprise:*:*:* | 3.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* | 10 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:* | 12 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:* Versions 2.4 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* Versions 2.5 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* Versions 2.6 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:gluster_storage:3.0.0:*:*:*:*:*:*:* Versions 3.0.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openshift:3.0:*:*:*:enterprise:*:*:* Versions 3.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* Versions 10 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:* Versions 12 Vulnerable ·Red Hat
Show 10 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* | 13 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:a:suse:package_hub:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:* | 12 | Running on | SUSE |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 19.04 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* Versions 13 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:a:suse:package_hub:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:* Versions 12 Running on ·SUSE
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* Versions 19.04 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-fc4h-467w-46rh ansible (PyPI) Fixed in 2.4.6.0 Advisory →
- Fix · GHSA-fc4h-467w-46rh ansible (PyPI) Fixed in 2.5.6 Advisory →
- Fix · GHSA-fc4h-467w-46rh ansible (PyPI) Fixed in 2.6.1 Advisory →
Red Hat 7 advisories
- RHSA-2019:0054 Released 2019-01-16 · Red Hat rating Moderateansible security update
- Red Hat OpenStack Platform 10.0 ansible-2.4.6.0-1.el7ae
- RHSA-2018:2585 Released 2018-08-29 · Red Hat rating Moderateansible security update
- Red Hat OpenStack Platform 13.0 ansible-2.4.6.0-1.el7ae
- RHSA-2018:2321 Released 2018-07-31 · Red Hat rating ModerateRed Hat Virtualization security, bug fix, and enhancement update
- RHEL 7-based RHEV-H for RHEV 4 (build requirements) imgbased-1.0.22-1.el7ev, python-imgbased-1.0.22-1.el7ev, redhat-release-virtualization-host-4.2-5.0.el7 +1
- Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host-4.2-20180724.0.el7_5, redhat-virtualization-host-image-update-4.2-20180724.0.el7_5
Show 4 more Red Hat advisories
- RHSA-2018:2166 Released 2018-07-10 · Red Hat rating Moderateansible security and bug fix update
- Red Hat Ansible Engine 2.6 for RHEL 7 Server ansible-2.6.1-1.el7ae
- RHSA-2018:2152 Released 2018-07-10 · Red Hat rating Moderateansible security update
- Red Hat Ansible Engine 2.4 for RHEL 7 Server ansible-2.4.6.0-1.el7ae, ansible-doc-2.4.6.0-1.el7ae
- RHSA-2018:2151 Released 2018-07-10 · Red Hat rating Moderateansible security and bug fix update
- Red Hat Ansible Engine 2 for RHEL 7 ansible-2.6.1-1.el7ae
- RHSA-2018:2150 Released 2018-07-10 · Red Hat rating Moderateansible security and bug fix update
- Red Hat Ansible Engine 2.5 for RHEL 7 Server ansible-2.5.6-1.el7ae, ansible-doc-2.5.6-1.el7ae
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 2 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 3 | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| RHEL 7-based RHEV-H for RHEV 4 (build requirements) | Fixed | RHSA-2018:2321 |
| Red Hat Ansible Engine 2 for RHEL 7 | Fixed | RHSA-2018:2151 |
| Red Hat Ansible Engine 2.4 for RHEL 7 Server | Fixed | RHSA-2018:2152 |
| Red Hat Ansible Engine 2.5 for RHEL 7 Server | Fixed | RHSA-2018:2150 |
| Red Hat Ansible Engine 2.6 for RHEL 7 Server | Fixed | RHSA-2018:2166 |
| Red Hat OpenStack Platform 10.0 | Fixed | RHSA-2019:0054 |
| Red Hat OpenStack Platform 12.0 | Fixed | — |
| Red Hat OpenStack Platform 13.0 | Fixed | RHSA-2018:2585 |
| Red Hat Virtualization 4 Hypervisor for RHEL 7 | Fixed | RHSA-2018:2321 |
Not affected: 3 products
- CloudForms Management Engine 5
- Red Hat OpenStack Platform 14 (Rocky)
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2018-10875
- 2026-10-03 Alias added: GHSA-fc4h-467w-46rh
References
Advisory 14
- RHSA-2018:2166
- RHSA-2018:2152
- RHSA-2018:2150
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875
- RHBA-2018:3788
- RHSA-2019:0054
- RHSA-2018:2151
- RHSA-2018:2321
- RHSA-2018:2585
- DSA-4396
- openSUSE-SU-2019:1125
- USN-4072-1
- [debian-lts-announce] 20190916 [SECURITY] [DLA 1923-1] ansible security update
- https://nvd.nist.gov/vuln/detail/CVE-2018-10875
Other 10
- https://github.com/ansible/ansible/issues/42388
- https://github.com/ansible/ansible/pull/43583
- https://github.com/ansible/ansible/pull/42070
- https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63
- https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981
- https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
- https://usn.ubuntu.com/4072-1
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml
- https://github.com/ansible/ansible
Sources
- CVE-2018-10875 · CVE Program
- CVE-2018-10875 · NVD
- FIRST EPSS
- GHSA-fc4h-467w-46rh · GitHub Advisory Database · CC BY 4.0
- CVE-2018-10875 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences