CVE-2016-8628
Ansible fails to properly sanitize fact variables sent from the Ansible controller
Reported by redhat · Published July 31, 2018
ansible is fixed in 2.2.0.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 2.2.0.0 |
| ansible | redhat | 2.2.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Ansible | 2.2.0 |
| Red Hat | Ansible | 2.2.0 |
| PyPI | ansible | 0 |
Timeline
- Nov 10, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (2 in total, the first dated here)
- Sep 20, 2026 CVE Updated
- Oct 6, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-8628
vulnetix vdb fixes CVE-2016-8628
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-8628/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2016:2778 vendor-advisoryx_refsource_REDHAT
- 94109 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-8628 advisory
- https://github.com/advisories/GHSA-jg4f-jqm5-4mgq advisory