Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-10691
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-10691
Complete source record
{
"id": "14d3be6b25efa84efcd93b0918893e0f1908ee3b8c8db1460c131c06f8c78e63",
"url": "https://osv.dev/vulnerability/CVE-2020-10691",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-10691",
"summary": "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.",
"evidence": "osv:CVE-2020-10691",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-10691",
"aliases": [
"CVE-2020-10691",
"GHSA-3c67-gc48-983w",
"PYSEC-2020-2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ansible/ansible",
"type": "GIT",
"events": [
{
"introduced": "24325a05dfb9104d6d4ec8b488b89e07c2e6d376"
},
{
"fixed": "ff7bbbcaf1e8f434432075bc9c55626a9dd3091d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.0"
},
{
"fixed": "2.9.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.9.6",
"v2.9.5",
"v2.9.4",
"v2.9.3",
"v2.9.2",
"v2.9.1",
"v2.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-10691.json"
}
}
],
"modified": "2026-10-20T10:50:58.906949389Z",
"provider": "osv",
"references": [
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691",
"https://github.com/ansible/ansible/pull/68596"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:ansible_tower",
"extracted_events": [
{
"range": [
{
"introduced": "3.0"
},
{
"last_affected": "3.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-10691",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382413,
"published_at": "2020-04-30T17:15:11.957+00:00"
}