Live threats

All CVEs / Redhat

CVE-2018-10874Redhat Ansible Engine

High 7.8

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
Weakness (CWE)
CWE-426, CWE-20
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible Engine.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatansible_engine2.0
redhatansible_engine2.4
redhatansible_engine2.5
redhatansible_engine2.6
redhatopenstack10
redhatopenstack12
redhatopenstack13
redhatvirtualization4.0
redhatvirtualization_host4.0

Official sources

References

Links published by the sources. Open them with care.