# CVE-2020-1737: Path Traversal in Ansible

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2020-03-09T15:11:38.000Z
- Modified: 2026-06-17T03:02:18.283Z
- Also known as: GHSA-893h-35v4-mxqx, PYSEC-2020-9
- Weaknesses: CWE-22
- Assigned by: redhat

## Description

A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.

(As written by CVE List.)

## Affected

- Red Hat Ansible: 2.7.17 and prior; 2.8.9 and prior; 2.9.6 and prior; fixed in 2.10
- ansible (PyPI): from 2.8.0a1 before 2.8.9; from 2.9.0a1 before 2.9.6; before 2.7.17; from 2.8.0 before 2.8.9; from 2.9.0 before 2.9.6
- redhat ansible_engine: before 2.7.17; from 2.8.0 before 2.8.9; from 2.9.0 before 2.9.6
- redhat ansible_tower: up to 3.3.4; from 3.4.0 up to 3.4.5; from 3.5.0 up to 3.5.5; from 3.6.0 up to 3.6.3

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737> (issue-tracking, report, vendor-advisory, web)
- <https://github.com/ansible/ansible/issues/67795> (report, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202006-11> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1737> (advisory)
- <https://github.com/ansible/ansible/pull/67799> (web)
- <https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d> (web)
- <https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676> (web)
- <https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72> (web)
- <https://github.com/advisories/GHSA-893h-35v4-mxqx> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml> (web)
- <https://github.com/samdoran/ansible> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/> (web)

## Sources

- CVE List: [CVE-2020-1737](https://www.cve.org/CVERecord?id=CVE-2020-1737), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-893h-35v4-mxqx](https://github.com/advisories/GHSA-893h-35v4-mxqx), CC-BY-4.0, modified 2024-09-06
- NVD: [CVE-2020-1737](https://nvd.nist.gov/vuln/detail/CVE-2020-1737), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-9](https://osv.dev/vulnerability/PYSEC-2020-9), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-1737 · Whole record: https://cve.day/CVE-2020-1737.json · Rebuilt by cve.day 2026-11-25T22:57:51.066Z
