CVE-2016-9587: Ansible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of da
CVE-2016-9587 is a high-severity flaw (CVSS 8.1) affecting ansible, ansible, openstack. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Ansible 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 attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.
Why this priority
- High severity
- EPSS top 3%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 17.1% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2018-04-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Ansible 2.1.4/2.2.1 - Command Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-9587?
ansible: upgrade to 2.1.4; ansible: upgrade to 2.2.1; openstack: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2016-9587 being exploited?
CVE-2016-9587 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-9587 affect?
CVE-2016-9587 affects ansible, ansible, openstack. Severity is high (CVSS 8.1). Ansible 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 attacker with control over a client system being managed by Ansible and the ability to send facts
How urgent is CVE-2016-9587?
Priority 68/100. High severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Ansible vulnerabilities · OpenStack vulnerabilities
Related CVEs
- CVE-2024-0690 MEDIUM 5.0 UPGRADE MITIGATE An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_LOG config
- CVE-2023-5764 HIGH 7.1 UPGRADE DOWNGRADE A template injection flaw was found in Ansible where a user's controller internal templating operations may re
- CVE-2023-32983 MEDIUM 5.3 UPGRADE Jenkins Ansible Plugin 204.v8191fd551eb_f and earlier does not mask extra variables displayed on the configura
- CVE-2023-32982 MEDIUM 4.3 UPGRADE Jenkins Ansible Plugin 204.v8191fd551eb_f and earlier stores extra variables unencrypted in job config.xml fil
- CVE-2022-3697 HIGH 7.5 UPGRADE UPGRADE A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amaz