CVE-2020-1736: Ansible Engine File Mode Disclosure Vulnerability

ansible Updated 02 Oct 2025

Summary

16/03/2020
Yes i
Moderate
3.3

CVE-2020-1736: A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. Affects ansible across 3 version ranges.

< 2.7.17 >= 2.8.0, < 2.8.9 >= 2.9.0, < 2.9.6

Fixed in 2.7.17, 2.8.9 or 2.9.6, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-1736 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Ansible Engine is an open-source automation platform that allows users to automate IT tasks such as configuration management, application deployment, and orchestration. It is widely used in the industry due to its simplicity and flexibility. However, a vulnerability has been discovered in Ansible Engine that could lead to the disclosure of sensitive data.

Vulnerability Detail

The vulnerability (CVE-2020-1736) exists in Ansible Engine when a file is moved using the atomic_move primitive without specifying the file mode. This flaw allows an attacker to set the destination files as world-readable if the destination file does not exist. Additionally, if the file already exists, the attacker can change its permissions to have less restrictive settings before the move. As a result, sensitive data could be exposed to unauthorized users. This vulnerability affects all versions in the 2.7.x, 2.8.x, and 2.9.x branches of Ansible Engine.

How To Fix

Latest published version: 14.5.0 as of 22 Oct 2026

pip install --upgrade "ansible==14.5.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.7.17 2.7.17
    pip install --upgrade "ansible==2.7.17"
  • >= 2.8.0, < 2.8.9 2.8.9
    pip install --upgrade "ansible==2.8.9"
  • >= 2.9.0, < 2.9.6 2.9.6
    pip install --upgrade "ansible==2.9.6"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fixes as soon as possible.

Conclusion

The vulnerability in Ansible Engine (CVE-2020-1736) could result in the disclosure of sensitive data. It is crucial to update to the fixed versions mentioned above to mitigate this risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ansible →

Share this vulnerability

FAQ

Ansible Engine is an open-source automation platform used for IT tasks such as configuration management and application deployment.

This vulnerability could lead to the disclosure of sensitive data to unauthorized users.

All versions in the 2.7.x, 2.8.x, and 2.9.x branches of Ansible Engine are believed to be vulnerable.

No, there are no known workarounds for this vulnerability. Updating to the fixed versions is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for ansible.

How To Fix

Latest published version: 14.5.0 as of 22 Oct 2026

pip install --upgrade "ansible==14.5.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.7.17 2.7.17
    pip install --upgrade "ansible==2.7.17"
  • >= 2.8.0, < 2.8.9 2.8.9
    pip install --upgrade "ansible==2.8.9"
  • >= 2.9.0, < 2.9.6 2.9.6
    pip install --upgrade "ansible==2.9.6"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback