{"schemaVersion":3,"id":"CVE-2020-10691","aliases":["ALPINE-CVE-2020-10691","GHSA-3c67-gc48-983w","PYSEC-2020-2","UBUNTU-CVE-2020-10691","DEBIAN-CVE-2020-10691"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2020-04-30T16:23:36.000Z","modified":"2024-08-04T11:06:11.130Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.2,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":5.1,"impact":4.5,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":5.1,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":5.1,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":5.1,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.6,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00303,"percentile":0.21652,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.05799999999999998,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00361},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00303,"percentile":0.21652}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00303,"percentile":0.21652}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"alpine","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/ansible","purlType":"apk","versions":[{"text":"< 2.9.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.7-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"ansible-base","name":"ansible-base","label":"ansible-base","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/ansible-base","purlType":"apk","versions":[{"text":"< 2.9.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.7-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ansible","purlType":"deb","versions":[{"text":"< 2.9.7+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.7+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"ansible","name":"ansible","label":"ansible","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ansible","purlType":"pypi","versions":[{"text":"≥ 2.9.0a1, < 2.9.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9.0a1, < 2.9.7 | ≥ 2.9.0, < 2.9.7","eol":null,"hubHref":null},{"vendor":"red hat","product":"ansible","name":"Ansible","label":"ansible","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"all ansible-engine versions 2.9.x prior to 2.9.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"all ansible-engine versions 2.9.x prior to 2.9.7","eol":null,"hubHref":"/vendor/red_hat/ansible"},{"vendor":"redhat","product":"ansible_engine","name":"ansible engine","label":"ansible_engine","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.9.0, < 2.9.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9.0, < 2.9.7","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ansible-core","label":"Ansible-core","category":"framework"}},"hubHref":"/vendor/redhat/ansible_engine"},{"vendor":"redhat","product":"ansible_tower","name":"ansible tower","label":"ansible_tower","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0","eol":null,"hubHref":"/vendor/redhat/ansible_tower"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","WEB","REPORT","Issue Tracking","Mitigation","Vendor Advisory"]},{"url":"https://github.com/ansible/ansible/pull/68596","label":"github.com/ansible/ansible/pull/68596","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Patch","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-10691","label":"security.alpinelinux.org/vuln/CVE-2020-10691","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691","label":"nvd.nist.gov/vuln/detail/CVE-2020-10691","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8","label":"github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-3c67-gc48-983w","label":"github.com/advisories/GHSA-3c67-gc48-983w","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible","label":"github.com/ansible/ansible","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2020-10691","label":"ubuntu.com/security/CVE-2020-10691","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1817161","label":"bugzilla.redhat.com/show_bug.cgi?id=1817161","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-10691","label":"www.cve.org/CVERecord?id=CVE-2020-10691","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-10691","label":"security-tracker.debian.org/tracker/CVE-2020-10691","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2022:0081-1","OPENSUSE-SU-2024:14244-1","OPENSUSE-SU-2024:14536-1","OPENSUSE-SU-2025:15605-1","OPENSUSE-SU-2025:15753-1","OPENSUSE-SU-2026:10944-1","RHSA-2020:1541","RHSA-2020:1542","SUSE-SU-2020:3309-1"],"duplicates":[],"related":["OPENSUSE-SU-2022:0081-1","OPENSUSE-SU-2024:14244-1","OPENSUSE-SU-2024:14536-1","OPENSUSE-SU-2025:15605-1","OPENSUSE-SU-2025:15753-1","OPENSUSE-SU-2026:10944-1","SUSE-SU-2020:3309-1"]},"timeline":[{"kind":"published","date":"2020-04-30T16:23:36.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T11:06:11.130Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:36:21.874Z","stale":false,"partial":false}}