CVE-2018-10875 in Canonical Ubuntu Linux and 10 more products
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.
Affects 11 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 16.04 18.04 19.04 |
| Debian | Debian Linux | 8.0 9.0 |
| Redhat | Virtualization | 4.0 |
| Redhat | Openshift | 3.0 |
| Redhat | Openstack | 10 12 13 |
| Redhat | Ceph Storage | 2.0 3.0 |
| Redhat | Virtualization Host | 4.0 |
| Redhat | Ansible Engine | 2.0 2.4 2.5 2.6 |
| Redhat | Gluster Storage | 3.0.0 |
| Suse | Package Hub | No version listed by the source |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Suse Suse Linux Enterprise Server
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-10875 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-123622-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2018-07-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-426: CWE-426
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A high severity vulnerability affects Canonical systems (CVE-2018-10875). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2018-10875?
This vulnerability was disclosed in 2018. A high severity vulnerability affects Canonical systems (CVE-2018-10875). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-10875?
CVE-2018-10875 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2018-10875 actively exploited?
No confirmed active exploitation of CVE-2018-10875 as of 2026-09-25.
How do I remediate CVE-2018-10875?
Priority: MEDIUM. Advisory: https://access.redhat.com/errata/RHBA-2018:3788
What systems are affected by CVE-2018-10875?
CVE-2018-10875 affects Canonical Ubuntu Linux; Debian Debian Linux; Redhat Virtualization, Openshift, Openstack, Ceph Storage, Virtualization Host, Ansible Engine, Gluster Storage; Suse Package Hub.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.