ansible, ansible-base — 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
- ansible, ansible-base
- Affected versions
- Not specified
- Fixed versions
- 2.9.7-r0
- CVEs
- CVE-2020-10691
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:00 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:ALPINE-CVE-2020-10691
ansible
Fixed versions: 2.9.7-r0
ansible
Fixed versions: 2.9.7-r0
ansible-base
Fixed versions: 2.9.7-r0
ansible-base
Fixed versions: 2.9.7-r0
Complete source record
{
"id": "376899428e74f06cdb9d1b6c36d31dcdc989bc6740d6c8f4501b46838edeb20f",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-10691",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-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:ALPINE-CVE-2020-10691",
"products": [
{
"name": {
"value": "ansible",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ansible",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ansible-base",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ansible-base",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2020-10691",
"aliases": [
"ALPINE-CVE-2020-10691"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7-r0"
}
]
}
],
"package": {
"name": "ansible",
"purl": "pkg:apk/alpine/ansible?arch=source",
"ecosystem": "Alpine:v3.11"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-10691.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7-r0"
}
]
}
],
"package": {
"name": "ansible",
"purl": "pkg:apk/alpine/ansible?arch=source",
"ecosystem": "Alpine:v3.12"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-10691.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7-r0"
}
]
}
],
"package": {
"name": "ansible-base",
"purl": "pkg:apk/alpine/ansible-base?arch=source",
"ecosystem": "Alpine:v3.13"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-10691.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7-r0"
}
]
}
],
"package": {
"name": "ansible-base",
"purl": "pkg:apk/alpine/ansible-base?arch=source",
"ecosystem": "Alpine:v3.14"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-10691.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-26T11:17:55.096089122Z",
"provider": "osv",
"upstream": [
"CVE-2020-10691"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2020-10691"
]
},
"related_cves": [
{
"value": "CVE-2020-10691",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450334,
"published_at": "2020-04-30T17:15:11.957+00:00"
}