← Vulnerability feed

Vulnerability record · CVE-2016-8628 · published 31 July 2018

CVE-2016-8628: Redhat ansible command injection vulnerability

Redhat · Ansible

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.

9.1 CVSS 3.0 Critical EPSS 3.3% · top 12.1% CWE-77 · Command injection
9.1CVSS 3.0 base score, v2 9.0
3.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2016-8628 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2014-4657Redhat ansible improper input validation vulnerabilityThe safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code vi…EPSS 4.4%9.8CVE-2014-4678Redhat ansible injection vulnerabilityThe safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code vi…EPSS 5.2%9.8CVE-2014-4966Redhat ansible injection vulnerabilityAnsible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which …EPSS 3.6%9.8CVE-2014-4967Redhat ansible injection vulnerabilityMultiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansib…EPSS 3.6%9.8CVE-2017-7550Redhat ansible sensitive information in log file vulnerabilityA flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attac…EPSS 3.6%8.8CVE-2014-3498Redhat ansible improper input validation vulnerabilityThe user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.EPSS 2.5%8.1CVE-2016-9587Redhat ansible improper input validation vulnerabilityAnsible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacke…EPSS 17%8.0CVE-2017-7466Redhat ansible improper input validation vulnerabilityAnsible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a cl…EPSS 3.1%

Source: NIST National Vulnerability Database (record CVE-2016-8628), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.