Home / Red Hat / Ansible / CVE-2020-1733
CVE-2020-1733: is it exploited, and which versions of Red Hat Ansible are affected and fixed?
CVE-2020-1733 is an insecure temporary file 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, 12:38 UTC). Affected: ansible 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-g4mq-6fp5-qwcf). Fixed in 2.7.17, 2.8.11 and 2.9.7 (GitHub advisory GHSA-g4mq-6fp5-qwcf). Severity: Medium (5.0, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2020-1733?
A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.
From the CVE record by redhat, last updated August 4, 2024, 06:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Ansible | 2.7.17 and prior 2.8.9 and prior 2.9.6 and prior |
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.17 | 2.7.17 | GHSA-g4mq-6fp5-qwcf |
| PyPI | ansible | >= 2.8.0a1, < 2.8.11 | 2.8.11 | GHSA-g4mq-6fp5-qwcf |
| PyPI | ansible | >= 2.9.0a1, < 2.9.7 | 2.9.7 | GHSA-g4mq-6fp5-qwcf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | ansible | through 2.7.16 | application |
| redhat | ansible | from 2.8.0 before 2.8.8 | application |
| redhat | ansible | from 2.9.0 through 2.9.5 | application |
| redhat | ansible tower | through 3.3.4 | application |
| redhat | ansible tower | from 3.3.5 through 3.4.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 | cloudforms management engine | 5.0 | application |
| redhat | openstack | 13 | application |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:02 UTC.
How severe is CVE-2020-1733?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L | redhat |
| Medium 5.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L | NVD |
| Low 3.7 | CVSS 2.0 | AV:L/AC:H/Au:N/C:P/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-1733 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-377 insecure temporary file
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- CWE-668 Exposure of Resource to Wrong Sphere
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733 x_refsource_CONFIRM
- https://github.com/ansible/ansible/issues/67791 x_refsource_MISC
- FEDORA-2020-1b6ce91e37 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-3990f03ba3 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-f80154b5b4 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20200505 [SECURITY] [DLA 2202-1] ansible security update mailing-list, x_refsource_MLIST
- GLSA-202006-11 vendor-advisory, x_refsource_GENTOO
- DSA-4950 vendor-advisory, x_refsource_DEBIAN
When was it published, and where is the official record?
- Reserved
- November 27, 2019
- Published
- March 11, 2020, 18:47 UTC
- CVE record updated
- August 4, 2024, 06:46 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 03:02 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 12:38 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 24, 2020CVE-2020-10684 Red Hat Ansible: code injection (remote code execution)
Questions about CVE-2020-1733
Is CVE-2020-1733 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.40% 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-1733?
ansible 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-g4mq-6fp5-qwcf. The tables above give every range the sources list.
Which version fixes CVE-2020-1733?
2.7.17, 2.8.11 and 2.9.7, per the GitHub advisory GHSA-g4mq-6fp5-qwcf. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-1733?
Medium (5.0, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2020-1733?
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.