# CVE-2020-1735: Path Traversal in Ansible

- Severity: Medium 4.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- 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.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-16T15:05:04.000Z
- Modified: 2026-06-17T03:02:18.013Z
- Also known as: GHSA-gfr2-qpxh-qj9m, PYSEC-2020-7
- Weaknesses: CWE-22
- Assigned by: redhat

## Description

A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

(As written by CVE List.)

## Affected

- Red Hat ansible: 2.7.x, 2.8.x, 2.9.x
- ansible (PyPI): from 2.7.0a1 before 2.7.18; from 2.8.0a1 before 2.8.12; from 2.9.0a1 before 2.9.8; before 2.7.17; from 2.8.0 before 2.8.9; from 2.9.0 before 2.9.6
- redhat ansible: before 2.7.17; from 2.8.0 before 2.8.11; from 2.9.0 before 2.9.7
- redhat ansible_tower: up to 3.3.4; from 3.3.5 up to 3.4.5; from 3.5.0 up to 3.5.5; from 3.6.0 up to 3.6.3
- redhat cloudforms_management_engine: 5.0
- redhat openstack: 13
- debian debian_linux: 10.0
- fedoraproject fedora: 30; 31; 32

## Every score

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

## References

- <https://github.com/ansible/ansible/issues/67793> (exploit, issue-tracking, patch, report, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735> (issue-tracking, report, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202006-11> (advisory, third-party-advisory, vendor-advisory, web)
- <https://www.debian.org/security/2021/dsa-4950> (third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1735> (advisory)
- <https://github.com/ansible/ansible/pull/69023> (web)
- <https://github.com/ansible/ansible/pull/69024> (web)
- <https://github.com/ansible/ansible/pull/69025> (web)
- <https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1> (web)
- <https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a> (web)
- <https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml> (web)
- <https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7> (web)
- <https://github.com/ansible/ansible> (package)
- <https://github.com/advisories/GHSA-gfr2-qpxh-qj9m> (advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/> (web)

## Sources

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

---

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