Read the docs
TI-2016-07090 Aliases CVE-2016-8628GHSA-jg4f-jqm5-4mgq

Command injection in Red Hat Ansible

Priority MEDIUM 45CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-77.

Summary

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.

Why it matters now

EPSS 0.03211 88th percentileScored 2026-11-07
Fix Partial ansible (PyPI): 2.2.0.0Red Hat: 1 advisoryRed Hat: 2 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatAnsible2.2.0—No fix listedCNA
—ansible (PyPI)before 2.2.0.02.2.0.0Patch availableGHSA-jg4f-jqm5-4mgq
  • Ansible VendorRed Hat Affected 2.2.0 Fixed in — No fix listed CNA
  • ansible (PyPI) Vendor— Affected before 2.2.0.0 Fixed in 2.2.0.0 Patch available GHSA-jg4f-jqm5-4mgq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*before 2.2.0VulnerableRed Hat
  • cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* Versions before 2.2.0 Vulnerable ·Red Hat

Remediation

  • Fix · GHSA-jg4f-jqm5-4mgq ansible (PyPI) Fixed in 2.2.0.0 Advisory →

Red Hat 1 advisory

  • RHSA-2016:2778 Released 2016-11-15 · Red Hat rating Moderate
    atomic-openshift-utils security and bug fix update
    • Red Hat OpenShift Container Platform 3.2 ansible-2.2.0.0-1.el7, atomic-openshift-utils-3.2.42-1.git.0.6b09be9.el7, openshift-ansible-3.2.42-1.git.0.6b09be9.el7 +5
    • Red Hat OpenShift Container Platform 3.3 ansible-2.2.0.0-1.el7, atomic-openshift-utils-3.3.50-1.git.0.5bdbeaa.el7, openshift-ansible-3.3.50-1.git.0.5bdbeaa.el7 +6

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Quickstart Cloud Installer 1AffectedNo fix yet
Red Hat OpenShift Container Platform 3.2Fixed RHSA-2016:2778
Red Hat OpenShift Container Platform 3.3Fixed RHSA-2016:2778
Not affected: 3 products
  • Red Hat OpenStack Platform 10 (Newton)
  • Red Hat Storage 3
  • Red Hat Storage Console 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-8628
  2. 2026-10-03 Alias added: GHSA-jg4f-jqm5-4mgq

References

  • TI-2016-07808 Improper input validation in Ansible CVSS 3.1HIGH 8.1
  • TI-2014-03853 Injection in Ansible CVSS 3.1CRITICAL 9.8
  • TI-2014-03839 The safe_eval function in Ansible before 1.5.4 does not properly restrict the code… CVSS 3.1CRITICAL 9.8
  • TI-2017-05191 Sensitive information in log files in Red Hat ansible CVSS 3.1CRITICAL 9.8
  • TI-2014-04077 Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote… CVSS 3.1CRITICAL 9.8
  • TI-2014-04076 Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings… CVSS 3.1CRITICAL 9.8
See all 44 →

Sources