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.
CVE-2016-9587
This high-severity CVE scores 8.1 under NVD CVSS v3. EPSS exploit probability: 17.6%, top 3% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.1(medium)
- EG Risk
- 57(Track)EG Risk 57/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation40% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 96.8%
- KEV
- Not listed
Published
April 24, 2018
Last Modified
November 21, 2024
References (18)
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2017-0195.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2017-0260.html
- secalert@redhathttp://www.securityfocus.com/bid/95352
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:0448
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:0515
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:1685
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587
- secalert@redhathttps://security.gentoo.org/glsa/201701-77
- secalert@redhathttps://www.exploit-db.com/exploits/41013/
- af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2017-0195.html
- af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2017-0260.html
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/95352
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:0448
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:0515
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:1685
Patch Availability(5)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | ansible-0:2.3.0.0-4.el7 | 2017-07-06 | redhat |
| redhat | python-passlib-0:1.6.5-1.1.el7 | 2017-03-14 | redhat |
| redhat | openshift-ansible-0:3.4.67-1.git.0.14a0b4d.el7 | 2017-03-06 | redhat |
| redhat | python-passlib-0:1.6.5-1.el7 | 2017-02-07 | redhat |
| redhat | ansible-0:2.2.1.0-1.el7 | 2017-01-25 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ansible | 1.0 ... 2.2.0.0 (61 versions) | 2.2.1.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(5)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2017:0195IMPORTANT2017-01-09
RHSA-2017:0195 — Important
- Red HatRHSA-2017:0260IMPORTANT2017-01-09
RHSA-2017:0260 — Important
- Red HatRHSA-2017:0448IMPORTANT2017-01-09
RHSA-2017:0448 — Important
- Red HatRHSA-2017:0515IMPORTANT2017-01-09
RHSA-2017:0515 — Important
- Red HatRHSA-2017:1685IMPORTANT2017-01-09
RHSA-2017:1685 — Important
Data Freshness Timeline
(refreshed 15× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 01:24 UTCEG score recompute
- 2026-07-22 22:04 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 14:17 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:09 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
Show 62 moreShow fewer
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 09:26 UTCOSV refresh
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 21:09 UTCOSV refresh
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 08:42 UTCEG score recompute
- 2026-05-28 08:42 UTCVendor advisory
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 16:44 UTCEPSS rescore
- 2026-05-24 14:21 UTCOSV refresh
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-41013First seen Jan 9, 2017
Ansible 2.1.4/2.2.1 - Command Execution
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2016-9587?
When was CVE-2016-9587 disclosed?
Is CVE-2016-9587 actively exploited?
What is the CVSS score of CVE-2016-9587?
How do I remediate CVE-2016-9587?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2016-9587
Is Your Infrastructure Affected by CVE-2016-9587?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.