{"id":"CVE-2020-10691","aliases":["CVE-2020-10691","GHSA-3c67-gc48-983w","PYSEC-2020-2"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in Ansible","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un fallo de salto de archivo en todas las versiones de ansible-engine 2.9.x anteriores a 2.9.7, cuando se ejecuta una instalación de una colección ansible-galaxy. Al extraer un archivo .tar.gz de la colección, el directorio es creado sin sanear el nombre del archivo. Un atacante podría aprovechar para sobrescribir cualquier archivo dentro del sistema.","source":"nvd"}],"published":"2020-04-30T16:23:36.000Z","modified":"2026-06-17T02:48:15.960Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":5.2,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":5.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":5.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":5.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","score":3.6,"rating":"LOW"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"all ansible-engine versions 2.9.x prior to 2.9.7","status":"affected"}],"vendor":"Red Hat","product":"Ansible","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.9.0a1","status":"affected","fixed":"2.9.7"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.9.0","fixed":"2.9.7"}],"vendor":"redhat","product":"ansible_engine","cpe":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.0"}],"vendor":"redhat","product":"ansible_tower","cpe":"cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.9.0","status":"affected","fixed":"2.9.7"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"pysec"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","tags":["issue-tracking","mitigation","report","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ansible/ansible/pull/68596","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-3c67-gc48-983w","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-10691","url":"https://www.cve.org/CVERecord?id=CVE-2020-10691","licence":"CVE Terms of Use","modified":"2024-08-04T11:06:11.130Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3c67-gc48-983w","url":"https://github.com/advisories/GHSA-3c67-gc48-983w","licence":"CC-BY-4.0","modified":"2024-09-04T21:02:09.201Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-10691","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691","licence":"Public domain","modified":"2026-06-17T02:48:15.960Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-2","url":"https://osv.dev/vulnerability/PYSEC-2020-2","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:59.445Z"}],"updatedAt":"2026-11-25T22:57:52.242Z","epss":{"score":0.00303,"percentile":0.2484,"date":"2026-12-01T12:00:22.000Z"}}