CVE-2020-10691
Path Traversal in Ansible
Reported by redhat · Published April 30, 2020
ansible is fixed in 2.9.7 (PyPI)
An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 2.9.7 |
| ansible-base | Alpine | 2.9.7-r0 |
| ansible_engine | redhat | 2.9.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Ansible | all ansible-engine versions 2.9.x prior to 2.9.7 |
| Red Hat | Ansible | 2.9.x |
Timeline
- Mar 27, 2020 CVE Published
- May 21, 2020 CVE Updated
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (5 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (2 in total, the first dated here)
- Sep 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-10691
vulnetix vdb fixes CVE-2020-10691
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-10691/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart