Home / Ansible / Ansible / CVE-2020-10729
CVE-2020-10729: is it exploited, and which versions of Ansible are affected and fixed?
CVE-2020-10729 is a weak randomness vulnerability in 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, 16:09 UTC). Affected: ansible before 2.9.6 (GitHub advisory GHSA-r6h7-5pq2-j77h). Fixed in 2.9.6 (GitHub advisory GHSA-r6h7-5pq2-j77h). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 07:57 UTC.
What is CVE-2020-10729?
A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.
From the CVE record by redhat, last updated August 4, 2024, 11:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Ansible | ansible-engine 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.9.6 | 2.9.6 | GHSA-r6h7-5pq2-j77h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 10, 2024. Summary: Insufficiently random values in Ansible.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | ansible engine | before 2.9.6 | application |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:48 UTC.
How severe is CVE-2020-10729?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N | 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-10729 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-330 Use of Insufficiently Random Values
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=1831089 x_refsource_MISC
- https://github.com/ansible/ansible/issues/34144 x_refsource_MISC
- DSA-4950 vendor-advisory, x_refsource_DEBIAN
When was it published, and where is the official record?
- Reserved
- March 20, 2020
- Published
- May 27, 2021, 18:46 UTC
- CVE record updated
- August 4, 2024, 11:14 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, 07:57 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ansible?
- Apr 18, 2022CVE-2021-3681 ansible: credentials insufficiently protected
- Mar 16, 2022CVE-2021-20180 Ansible: sensitive information written to log files
- Mar 3, 2022CVE-2021-3620 ansible: information disclosure in error messages
- Sep 22, 2021CVE-2021-3583 ansible: improper input validation
- May 26, 2021CVE-2021-20191 ansible: sensitive information written to log files
- May 26, 2021CVE-2021-20178 Ansible: sensitive information written to log files
- Apr 29, 2021CVE-2021-20228 ansible: information disclosure
- Apr 1, 2021CVE-2021-3447 ansible: sensitive information written to log files
Questions about CVE-2020-10729
Is CVE-2020-10729 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Ansible are affected by CVE-2020-10729?
ansible before 2.9.6, per the GitHub advisory GHSA-r6h7-5pq2-j77h. The tables above give every range the sources list.
Which version fixes CVE-2020-10729?
2.9.6, per the GitHub advisory GHSA-r6h7-5pq2-j77h. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-10729?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-10729?
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.