CVE-2018-10874Redhat Ansible Engine
High 7.8
Follow: this CVE · Redhat · Redhat Ansible Engine We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.0
- 7.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 42
- Auth required
- Yes
- Published
- Jul 2, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ansible Engine.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
< 2.4.6.0 |
2.4.6.0 |
pip install "ansible>=2.4.6.0" |
| PyPI | ansible |
≥ 2.5 < 2.5.6 |
2.5.6 |
pip install "ansible>=2.5.6" |
| PyPI | ansible |
≥ 2.6 < 2.6.1 |
2.6.1 |
pip install "ansible>=2.6.1" |
| PyPI | ansible |
< 2.4.6.0 |
2.4.6.0 |
pip install "ansible>=2.4.6.0" |
| PyPI | ansible |
≥ 2.5 < 2.5.6 |
2.5.6 |
pip install "ansible>=2.5.6" |
| PyPI | ansible |
≥ 2.6 < 2.6.1 |
2.6.1 |
pip install "ansible>=2.6.1" |
Per OSV / GitHub Advisories (GHSA-3xvg-x47j-x75w, PYSEC-2018-81). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible_engine | 2.0 |
| redhat | ansible_engine | 2.4 |
| redhat | ansible_engine | 2.5 |
| redhat | ansible_engine | 2.6 |
| redhat | openstack | 10 |
| redhat | openstack | 12 |
| redhat | openstack | 13 |
| redhat | virtualization | 4.0 |
| redhat | virtualization_host | 4.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- usn.ubuntu.com