# CVE-2020-1736: Incorrect Permission Assignment for Critical Resource in Ansible

- Severity: Low 2.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/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.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-16T15:03:52.000Z
- Modified: 2026-06-17T03:02:18.150Z
- Also known as: GHSA-x7jh-595q-wq82, PYSEC-2020-8
- Weaknesses: CWE-732
- Assigned by: redhat

## Description

A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. 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.0 up to 2.10.0; before 2.7.17; from 2.8.0 before 2.8.9; from 2.9.0 before 2.9.6
- redhat ansible: up to 2.7.16; from 2.8.0 before 2.8.15; from 2.9.0 before 2.9.13
- 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; from 3.7.0 up to 3.7.2
- redhat cloudforms_management_engine: 5.0
- redhat openstack: 13
- fedoraproject fedora: 31; 32

## Every score

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

## References

- <https://github.com/ansible/ansible/issues/67794> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736> (issue-tracking, report, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202006-11> (advisory, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1736> (advisory)
- <https://github.com/advisories/GHSA-x7jh-595q-wq82> (advisory)
- <https://github.com/ansible/ansible> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7/> (web)

## Sources

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

---

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