CVE-2020-1738: Ansible Engine Module Package or Service Parameter Use Flaw

ansible Updated 02 Oct 2025

Summary

16/03/2020
Yes i
Low
3.9

CVE-2020-1738: A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not 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-1738 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 for its simplicity and flexibility. The module package or service parameter in Ansible Engine allows users to specify the package or service to be managed. However, a flaw has been discovered in this functionality that can be exploited by a malicious user.

Vulnerability Detail

The vulnerability arises when the 'use' parameter is not specified in the module package or service. If a previous task is executed by a malicious user, they can manipulate the ansible facts file to select the module sent by the attacker. This can lead to unauthorized access, privilege escalation, or other malicious activities. The 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

If upgrading to the fixed versions is not immediately possible, a workaround can be implemented by ensuring that the 'use' parameter is always specified when using the module package or service. This can be done by explicitly setting the 'use' parameter in the Ansible playbook or command.

Conclusion

The vulnerability in Ansible Engine's module package or service parameter can be exploited by a malicious user to manipulate the module sent by the attacker. Upgrading to the fixed versions or implementing the provided workaround will mitigate this vulnerability. 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 configuration management, application deployment, and orchestration.

The vulnerability allows a malicious user to manipulate the module sent by the attacker, potentially leading to unauthorized access, privilege escalation, or other malicious activities.

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

To fix this vulnerability, it is recommended to upgrade to the fixed versions of Ansible Engine (2.7.17 or later, 2.8.9 or later, 2.9.6 or later).

Yes, a workaround is available by ensuring that the 'use' parameter is always specified when using the module package or service.

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