CVE-2020-10684Redhat Ansible
High 7.1
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 28
- Auth required
- Yes
- Published
- Mar 24, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ansible.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
≥ 2.7.0a1 < 2.7.17 |
2.7.17 |
pip install "ansible>=2.7.17" |
| PyPI | ansible |
≥ 2.8.0a1 < 2.8.11 |
2.8.11 |
pip install "ansible>=2.8.11" |
| PyPI | ansible |
≥ 2.9.0a1 < 2.9.7 |
2.9.7 |
pip install "ansible>=2.9.7" |
| PyPI | ansible |
≥ 2.7.0 < 2.7.17 |
2.7.17 |
pip install "ansible>=2.7.17" |
| PyPI | ansible |
≥ 2.8.0 < 2.8.9 |
2.8.9 |
pip install "ansible>=2.8.9" |
| PyPI | ansible |
≥ 2.9.0 < 2.9.6 |
2.9.6 |
pip install "ansible>=2.9.6" |
Per OSV / GitHub Advisories (GHSA-p62g-jhg6-v3rq, PYSEC-2020-207). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | ≥ 2.7.0 < 2.7.17 |
| redhat | ansible | ≥ 2.8.0 < 2.8.9 |
| redhat | ansible | ≥ 2.9.0 < 2.9.6 |
| redhat | ansible_tower | ≤ 3.3.5 |
| redhat | ansible_tower | ≥ 3.5.0 ≤ 3.5.5 |
| redhat | ansible_tower | ≥ 3.6.0 ≤ 3.6.3 |
| redhat | openstack | 10 |
| redhat | openstack | 13 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
Official advisories
- ansible-14-14.6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12447-1 · Nov 6, 2026 Critical
- ansible-13-13.7.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10944-1 · Jun 3, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory