{"api_version":"1","generated_at":"2026-07-23T03:09:05+00:00","cve":"CVE-2016-8628","urls":{"html":"https://cve.report/CVE-2016-8628","api":"https://cve.report/api/cve/CVE-2016-8628.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-8628","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628"},"summary":{"title":"CVE-2016-8628","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-07-31 20:29:00","updated_at":"2023-11-07 02:36:00"},"problem_types":["CWE-77"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/94109","name":"94109","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Ansible CVE-2016-8628 Remote Command Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://access.redhat.com/errata/RHSA-2016:2778","name":"RHSA-2016:2778","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"1388113 – (CVE-2016-8628) CVE-2016-8628 ansible: Command injection by compromised server via fact variables","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-8628","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"8628","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"8628","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-8628","qid":"981014","title":"Python (pip) Security Update for ansible (GHSA-jg4f-jqm5-4mgq)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2016-8628","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Ansible","version":{"version_data":[{"version_value":"2.2.0"}]}}]},"vendor_name":"Red Hat"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"7.6/CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.0"}],[{"vectorString":"6.8/AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-77"}]}]},"references":{"reference_data":[{"name":"RHSA-2016:2778","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2016:2778"},{"name":"94109","refsource":"BID","url":"http://www.securityfocus.com/bid/94109"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628"}]}},"nvd":{"publishedDate":"2018-07-31 20:29:00","lastModifiedDate":"2023-11-07 02:36:00","problem_types":["CWE-77"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":2.3,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9},"severity":"HIGH","exploitabilityScore":8,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"8628","Ordinal":"95283","Title":"CVE-2016-8628","CVE":"CVE-2016-8628","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"8628","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"8628","Ordinal":"2","NoteData":"2018-07-31","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"8628","Ordinal":"3","NoteData":"2018-08-01","Type":"Other","Title":"Modified"}]}}}