Code executionin the ansible package.
Proof of concept public (Exploit-DB).
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.
- Upgrade ansible (PyPI) to 2.1.4.0, 2.2.1.0 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 Nov 2016CVE ID reserved by redhat.
- 24 Apr 2018Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
Same weakness: Improper input validation
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- bugzilla.redhat.com x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
Patchminder. CVE-2016-9587: Code execution in the ansible package. https://patchminder.com/cve/cve-2016-9587/ (accessed 5 December 2026).