CVE-2014-4967: Ansible - Multiple Argument Injection Vulnerabilities

ansible Updated 02 Oct 2025

Summary

18/02/2020
Yes i
Critical
9.8

CVE-2014-4967: Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact... Affects ansible across 2 version ranges.

< 1.6.7 < 62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527

Fixed in 62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527. How to fix ↓

Also tracked for

The same CVE-2014-4967 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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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 is an open-source automation tool that allows users to automate IT tasks such as configuration management, application deployment, and orchestration. It is widely used in the DevOps community for its simplicity and scalability. However, Ansible versions before 1.6.7 are susceptible to multiple argument injection vulnerabilities, which can be exploited by remote attackers with access to an Ansible managed host. These vulnerabilities arise from the improper handling of crafted facts, allowing the execution of arbitrary code on the target system.

Vulnerability Detail

The vulnerability in Ansible versions prior to 1.6.7 stems from the lack of proper input validation when processing certain facts. An attacker who can provide a crafted fact to an Ansible managed host can exploit this vulnerability to execute arbitrary code. There are three specific scenarios where this vulnerability can be leveraged: 1) by appending a trailing " src=" clause to a fact, 2) by appending a trailing " temp=" clause to a fact, or 3) by appending a trailing " validate=" clause accompanied by a shell command. Successful exploitation of this vulnerability can lead to unauthorized code execution and potential compromise of the target system.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527

This is the first release that contains the fix.

pip install --upgrade "ansible==62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, users can implement strict input validation and sanitization of facts before processing them with Ansible. This can be achieved by implementing custom input filters or using third-party libraries that provide secure input handling. However, applying the official fix by upgrading to Ansible version 1.6.7 or later is the recommended approach.

Conclusion

The multiple argument injection vulnerabilities in Ansible versions prior to 1.6.7 can allow remote attackers to execute arbitrary code on an Ansible managed host. To mitigate this vulnerability, it is crucial to upgrade to Ansible version 1.6.7 or later. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ansible →

Share this vulnerability

FAQ

Ansible is an open-source automation tool used for configuration management, application deployment, and orchestration.

Versions of Ansible prior to 1.6.7 are affected by this vulnerability.

An attacker with access to an Ansible managed host can exploit this vulnerability by providing a crafted fact with specific trailing clauses, allowing the execution of arbitrary code.

Successful exploitation of this vulnerability can lead to unauthorized code execution on the target system, potentially resulting in compromise of sensitive data or disruption of services.

While implementing strict input validation and sanitization of facts can serve as a temporary workaround, it is recommended to upgrade to Ansible version 1.6.7 or later to fully mitigate this vulnerability.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527

This is the first release that contains the fix.

pip install --upgrade "ansible==62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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