CVE-2016-8628Redhat Ansible
Critical 9.1
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ansible.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 2.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory