Live threats

All CVEs / Redhat

CVE-2016-8628Redhat Ansible

Critical 9.1

Priority
55
CVSS 3.0
9.1
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
Yes
Published
Jul 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What happens

Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.

Original NVD text.

What to do

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

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible < 2.2.0.0 2.2.0.0 pip install "ansible>=2.2.0.0"
PyPI ansible < 2.2.0.0 2.2.0.0 pip install "ansible>=2.2.0.0"

Per OSV / GitHub Advisories (GHSA-jg4f-jqm5-4mgq, PYSEC-2018-38). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible< 2.2.0

Official sources

References

Links published by the sources. Open them with care.