CVE-2018-10874: redhat ansible_engine Untrusted Search Path
Vulnerability summary
CVE-2018-10874 is a high (CVSS 7.8) Untrusted Search Path vulnerability in redhat ansible_engine. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 42.1% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 4Timeline
- 02-07-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
7 scores · 5 sources · 3 versions- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · PypiEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.49% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-426Untrusted Search PathThe product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
- ansible_engine2.0 | 2.4 | 2.5 | 2.6
- openstack10 | 12 | 13
- virtualization4.0
- virtualization_host4.0
[unknown]1 product
- ansiblen/a
Debian1 product
- ansible< 2.6.1+dfsg-1
PyPI1 product
- ansible< 2.4.6.0 | ≥ 2.5, < 2.5.6 | ≥ 2.6, < 2.6.1
Ubuntu1 product
- ansible< 2.5.1+dfsg-1ubuntu0.1
5 vendors · 8 products
References
27 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874X Refsource CONFIRMIssue TrackingVendor AdvisoryWEBREPORT
Show all 27 references
- github.com/ansible/ansiblePACKAGE