CVE-2016-9587

HIGH

Ansible < 2.1.4 and < 2.2.1 - Remote Code Execution via Client Fact Data

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-9587. PoCs published by Computest.

AI-analyzed exploit summary This is a detailed advisory and proof-of-concept for CVE-2016-9587, describing multiple methods to bypass Ansible's fact filtering to achieve command execution on the Ansible controller from a compromised host. It includes technical explanations and code snippets for six distinct bypass techniques.

Description

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.

Exploits (1)

exploitdb WRITEUP
by Computest · textremotelinux
https://www.exploit-db.com/exploits/41013

This is a detailed advisory and proof-of-concept for CVE-2016-9587, describing multiple methods to bypass Ansible's fact filtering to achieve command execution on the Ansible controller from a compromised host. It includes technical explanations and code snippets for six distinct bypass techniques.

Classification
Writeup 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Ansible < 2.1.4, < 2.2.1
No auth needed
Prerequisites: Compromised host with ability to modify facts returned to Ansible controller
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2017:0515
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/41013/
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201701-77
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2017:1685
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/95352
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2017:0448
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2017-0195.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2017-0260.html

Scores

CVSS v3 8.1
EPSS 0.0305
EPSS Percentile 87.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (4)
ansible/ansible < 2.2.1
pypi/ansible 0 - 2.1.4.0PyPI
redhat/ansible < 2.1.4
redhat/openstack 11
Published Apr 24, 2018
Tracked Since Feb 18, 2026