A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world writable directory. When this occurs, there is a race condition on the managed machine. A malicious,
A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world writable directory. When this occurs, there is a race condition on the managed machine. A malicious, non-privileged account on the remote machine can exploit the race condition to access the async result data. This flaw affects Ansible Tower 3.7 and Ansible Automation Platform 1.2.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | ansible | < 3.0.0 | 3.0.0 |
References
- Weakness (CWE)
-- Platform
- Python (PyPI)
- Package
ansible- Disclosed
- 09.06.2021
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-126 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: ansible
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 68
- First → latest
- 09.2013 12.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 9
- High 24
- Medium 27
- Low 6
- Unrated 2
Disclosures per year
- 2017: 3
- 2018: 12
- 2019: 8
- 2020: 29
- 2021: 7
- 2022: 3
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
earlier: 4
-
A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world writable directory. When this occurs, there is a race condition on the managed machine. A malicious, this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.