CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.40% in 30 days
higher than 36% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
Red HatAnsible2.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?

EcosystemPackageAffectedFixed inAdvisory
PyPIansible< 2.7.172.7.17GHSA-g4mq-6fp5-qwcf
PyPIansible>= 2.8.0a1, < 2.8.112.8.11GHSA-g4mq-6fp5-qwcf
PyPIansible>= 2.9.0a1, < 2.9.72.9.7GHSA-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?

VendorProductVersionsType
redhatansiblethrough 2.7.16application
redhatansiblefrom 2.8.0 before 2.8.8application
redhatansiblefrom 2.9.0 through 2.9.5application
redhatansible towerthrough 3.3.4application
redhatansible towerfrom 3.3.5 through 3.4.5application
redhatansible towerfrom 3.5.0 through 3.5.5application
redhatansible towerfrom 3.6.0 through 3.6.3application
redhatcloudforms management engine5.0application
redhatopenstack13application
fedoraprojectfedora30operating system
fedoraprojectfedora31operating system
fedoraprojectfedora32operating system
debiandebian linux8.0operating system
debiandebian linux10.0operating system

NVD analysis (status Modified), last modified June 17, 2026, 03:02 UTC.

How severe is CVE-2020-1733?

ScoreVersionVectorSource
Medium 5.0CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:Lredhat
Medium 5.0CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:LNVD
Low 3.7CVSS 2.0AV:L/AC:H/Au:N/C:P/I:P/A:PNVD

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?

Where are the vendor advisories and references?

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?

Every CVE in Ansible

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.