CVE-2020-1733 in Debian Linux and 5 more products
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...
Affects 6 products from 3 vendors. Facts below cite their sources.
Requires local access, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 8.0 10.0 |
| Fedoraproject | Fedora | 30 31 32 |
| Redhat | Openstack | 13 |
| Redhat | Cloudforms Management Engine | 5.0 |
| Redhat | Ansible | ≤ 2.7.16 ≥ 2.8.0, < 2.8.8 ≥ 2.9.0, ≤ 2.9.5 |
| Redhat | Ansible Tower | ≤ 3.3.4 ≥ 3.3.5, ≤ 3.4.5 ≥ 3.5.0, ≤ 3.5.5 ≥ 3.6.0, ≤ 3.6.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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'.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-1733 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-147821-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
| Published | 2020-03-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
CWE-377: CWE-377
Related attack patterns (CAPEC)
CAPEC-149 Explore for Predictable Temporary File Names via CWE-377
CAPEC-155 Screen Temporary Files for Sensitive Information via CWE-377
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A race condition flaw in Ansible Engine versions 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior allows an attacker to potentially exploit the creation of a temporary directory with insufficient permissions, leading to unauthorized access or privilege escalation.
The vulnerability arises when Ansible creates a temporary directory in /var/tmp with 'umask 77 && mkdir -p <dir>'. If an attacker can create the directory before Ansible does, they can set permissions that allow them to access or modify files created by Ansible in this directory, especially when using an unprivileged become user.
Questions
What is CVE-2020-1733?
A race condition flaw in Ansible Engine versions 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior allows an attacker to potentially exploit the creation of a temporary directory with insufficient permissions, leading to unauthorized access or privilege escalation.
What is the CVSS score for CVE-2020-1733?
CVE-2020-1733 has CVSS 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L. EPSS: 0.4%.
Is CVE-2020-1733 actively exploited?
No confirmed active exploitation of CVE-2020-1733 as of 2026-09-25.
How do I remediate CVE-2020-1733?
Priority: MEDIUM. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733
What systems are affected by CVE-2020-1733?
CVE-2020-1733 affects Debian Debian Linux; Fedoraproject Fedora; Redhat Openstack, Cloudforms Management Engine, Ansible, Ansible Tower.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.