Home / Red Hat / Ansible / CVE-2020-10684
CVE-2020-10684: is it exploited, and which versions of Red Hat Ansible are affected and fixed?
CVE-2020-10684 is a code injection (remote code execution) vulnerability in Red Hat Ansible. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: ansible from 2.7.0a1 before 2.7.17, ansible from 2.8.0a1 before 2.8.11 and ansible from 2.9.0a1 before 2.9.7 (GitHub advisory GHSA-p62g-jhg6-v3rq). Fixed in 2.7.17, 2.8.11 and 2.9.7 (GitHub advisory GHSA-p62g-jhg6-v3rq). Severity: High (7.9, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2020-10684?
A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.
From the CVE record by redhat, last updated August 4, 2024, 11:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Ansible | all Ansible 2.7.x versions prior to 2.7.17 all Ansible 2.8.x versions prior to 2.8.9 all Ansible 2.9.x versions prior to 2.9.6 |
As the CVE record by redhat states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | ansible | >= 2.7.0a1, < 2.7.17 | 2.7.17 | GHSA-p62g-jhg6-v3rq |
| PyPI | ansible | >= 2.8.0a1, < 2.8.11 | 2.8.11 | GHSA-p62g-jhg6-v3rq |
| PyPI | ansible | >= 2.9.0a1, < 2.9.7 | 2.9.7 | GHSA-p62g-jhg6-v3rq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | ansible | from 2.7.0 before 2.7.17 | application |
| redhat | ansible | from 2.8.0 before 2.8.9 | application |
| redhat | ansible | from 2.9.0 before 2.9.6 | application |
| redhat | ansible tower | through 3.3.5 | application |
| redhat | ansible tower | from 3.5.0 through 3.5.5 | application |
| redhat | ansible tower | from 3.6.0 through 3.6.3 | application |
| redhat | openstack | 10 | application |
| redhat | openstack | 13 | application |
| debian | debian linux | 10.0 | operating system |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:48 UTC.
How severe is CVE-2020-10684?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.9 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H | redhat |
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | NVD |
| Low 3.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-10684 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-862 Missing Authorization
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- CWE-250 Execution with Unnecessary Privileges
Where are the vendor advisories and references?
- FEDORA-2020-1b6ce91e37 vendor-advisory
- FEDORA-2020-3990f03ba3 vendor-advisory
- FEDORA-2020-f80154b5b4 vendor-advisory
- GLSA-202006-11 vendor-advisory
- DSA-4950 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10684
When was it published, and where is the official record?
- Reserved
- March 20, 2020
- Published
- March 24, 2020, 00:00 UTC
- CVE record updated
- August 4, 2024, 11:06 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 02:48 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ansible?
- Sep 11, 2020CVE-2020-14332 Red Hat Ansible: log injection
- Sep 11, 2020CVE-2020-14330 Red Hat Ansible: sensitive information written to log files
- May 15, 2020CVE-2020-10744 Red Hat ansible: insecure temporary file
- May 12, 2020CVE-2020-1746 Red Hat ansible: information disclosure
- May 11, 2020CVE-2020-10685 Red Hat Ansible: incomplete cleanup
- Apr 30, 2020CVE-2020-10691 Red Hat Ansible: path traversal (reading or writing files outside the intended folder)
- Mar 31, 2020CVE-2019-14905 Red Hat Ansible: improper input validation
- Mar 16, 2020CVE-2020-1738 Red Hat ansible: argument injection
Questions about CVE-2020-10684
Is CVE-2020-10684 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Ansible are affected by CVE-2020-10684?
ansible from 2.7.0a1 before 2.7.17, ansible from 2.8.0a1 before 2.8.11 and ansible from 2.9.0a1 before 2.9.7, per the GitHub advisory GHSA-p62g-jhg6-v3rq. The tables above give every range the sources list.
Which version fixes CVE-2020-10684?
2.7.17, 2.8.11 and 2.9.7, per the GitHub advisory GHSA-p62g-jhg6-v3rq. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-10684?
High (7.9, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2020-10684?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.