{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-8628","id":"CVE-2016-8628","title":"Ansible fails to properly sanitize fact variables sent from the Ansible controller","description":"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.","descriptionLong":"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.","published":"2018-07-31T20:00:00.000Z","updated":"2026-10-24T10:30:54.652881489Z","reserved":"2016-10-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","rating":"critical","source":"GitHub"},{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"redhat.com"},{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"high","products":["Red Hat Ansible"],"affectedProducts":[{"vendor":"Red Hat","product":"Ansible","defaultStatus":null,"versions":[{"status":"affected","version":"2.2.0"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":["<2.2.0.0"],"fixed":["2.2.0.0"],"advisory":"GHSA-jg4f-jqm5-4mgq"}],"cwes":["CWE-77"],"aliases":["GHSA-jg4f-jqm5-4mgq","PYSEC-2018-38"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2016:2778","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/94109","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628","tags":["advisory"]},{"url":"https://github.com/ansible/ansible/issues/41903","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jg4f-jqm5-4mgq","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03211,"epssPercentile":0.88431,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-8628","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-8628","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jg4f-jqm5-4mgq","ok":true,"note":"GHSA-jg4f-jqm5-4mgq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-8628","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}