VDB

CVE-2016-8628

CVE-2016-8628 PUBLISHED CVSS 7.6 HIGH

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.

PackageEcosystemFixed in
ansiblePyPI2.2.0.0
ansibleredhat2.2.0

Risk scores

CVSS 3.0
7.6
CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
Red HatAnsible2.2.0
Red HatAnsible2.2.0
PyPIansible0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›