ADVISORIES

Vulnerability

CVE-2020-1740

A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

21 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALPINE-CVE-2020-1740

    A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in…

    CVE-2020-1740 Alpine Updated 17 November 2026
  • DEBIAN-CVE-2020-1740

    A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in…

    CVE-2020-1740 Debian Updated 26 October 2026
  • DLA-2202-1

    ansible - security update

    CVE-2019-14846CVE-2020-1733CVE-2020-1739CVE-2020-1740 Debian Updated 20 November 2026
  • DSA-4950-1

    ansible - security update

    CVE-2019-10156CVE-2019-10206CVE-2019-14846CVE-2019-14864 Debian Updated 20 November 2026
  • GHSA-vcg8-98q8-g7mj

    Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible

    Moderate CVE-2020-1740 PyPI Updated 4 September 2024
  • OESA-2021-1349

    ansible security update

    High CVE-2019-14904CVE-2020-10684CVE-2020-10729CVE-2020-1735 openEuler Updated 18 August 2026
  • OESA-2022-1950

    ansible security update

    High CVE-2019-14904CVE-2020-10684CVE-2020-10729CVE-2020-1735 openEuler Updated 18 August 2026
  • PYSEC-2020-12

    A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in…

    CVE-2020-1740 PyPI Updated 8 November 2023
  • RHSA-2020:1541

    Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)

    CVE-2020-10684CVE-2020-10685CVE-2020-10691CVE-2020-1733 Red Hat Updated 13 November 2026
  • RHSA-2020:1542

    Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)

    CVE-2020-10684CVE-2020-10685CVE-2020-10691CVE-2020-1733 Red Hat Updated 13 November 2026
  • RHSA-2020:1543

    Red Hat Security Advisory: Ansible security and bug fix update (2.8.11)

    CVE-2020-10684CVE-2020-10685CVE-2020-1733CVE-2020-1735 Red Hat Updated 13 November 2026
  • RHSA-2020:1544

    Red Hat Security Advisory: Ansible security and bug fix update (2.7.17)

    CVE-2020-10684CVE-2020-10685CVE-2020-1733CVE-2020-1735 Red Hat Updated 13 November 2026
  • SUSE-SU-2020:3309-1

    Security update for ansible, ardana-ansible, ardana-cinder, ardana-glance, ardana-mq, ardana-nova, ardana-osconfig, crowbar-core, crowbar-openstack, documentation-suse-openstack-cloud, grafana,…

    CVE-2016-8614CVE-2016-8628CVE-2016-8647CVE-2016-9587 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2020-1740

    A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in…

    CVE-2020-1740 Ubuntu Updated 8 September 2025
  • openSUSE-SU-2022:0081-1

    Security update for ansible

    CVE-2018-10875CVE-2018-16837CVE-2019-10156CVE-2019-14846 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14244-1

    ansible-9-9.8.0-1.1 on GA media

    CVE-2014-4966CVE-2014-4967CVE-2015-3908CVE-2016-3096 openSUSE Updated 7 May 2025
  • openSUSE-SU-2024:14536-1

    ansible-10-10.6.0-1.1 on GA media

    CVE-2014-4966CVE-2014-4967CVE-2015-3908CVE-2016-3096 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15605-1

    ansible-11-11.11.0-1.1 on GA media

    CVE-2014-4966CVE-2014-4967CVE-2015-3908CVE-2016-3096 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15753-1

    ansible-12-12.2.0-1.1 on GA media

    CVE-2014-4966CVE-2014-4967CVE-2015-3908CVE-2016-3096 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10944-1

    ansible-13-13.7.0-1.1 on GA media

    CVE-2014-4966CVE-2014-4967CVE-2015-3908CVE-2016-3096 openSUSE Updated 4 June 2026
  • openSUSE-SU-2026:12447-1

    ansible-14-14.6.0-1.1 on GA media

    CVE-2014-4966CVE-2014-4967CVE-2015-3908CVE-2016-3096 openSUSE Updated 7 November 2026

References