Home / Red Hat / Ansible / CVE-2020-10691
CVE-2020-10691: is it exploited, and which versions of Red Hat Ansible are affected and fixed?
CVE-2020-10691 is a path traversal (reading or writing files outside the intended folder) 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, 17:39 UTC). Affected: ansible from 2.9.0a1 before 2.9.7 (GitHub advisory GHSA-3c67-gc48-983w). Fixed in 2.9.7 (GitHub advisory GHSA-3c67-gc48-983w). Severity: Medium (5.2, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:11 UTC.
What is CVE-2020-10691?
An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.
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-engine versions 2.9.x prior to 2.9.7 |
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.9.0a1, < 2.9.7 | 2.9.7 | GHSA-3c67-gc48-983w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 4, 2024. Summary: Path Traversal in Ansible.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | ansible engine | from 2.9.0 before 2.9.7 | application |
| redhat | ansible tower | 3.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:48 UTC.
How severe is CVE-2020-10691?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L | redhat |
| Medium 5.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L | 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-10691 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691 x_refsource_CONFIRM
- https://github.com/ansible/ansible/pull/68596 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- March 20, 2020
- Published
- April 30, 2020, 16:23 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:11 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 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
- Mar 31, 2020CVE-2019-14905 Red Hat Ansible: improper input validation
- Mar 24, 2020CVE-2020-10684 Red Hat Ansible: code injection (remote code execution)
- Mar 16, 2020CVE-2020-1738 Red Hat ansible: argument injection
Questions about CVE-2020-10691
Is CVE-2020-10691 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat Ansible are affected by CVE-2020-10691?
ansible from 2.9.0a1 before 2.9.7, per the GitHub advisory GHSA-3c67-gc48-983w. The tables above give every range the sources list.
Which version fixes CVE-2020-10691?
2.9.7, per the GitHub advisory GHSA-3c67-gc48-983w. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-10691?
Medium (5.2, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2020-10691?
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.