All reports
High

Ansible Arbitrary Code Execution

Affected versions

Version ranges need review.

Affected versions
< 1.6.6
Fixed version
1.6.6
Affected versions
<1.6.6
Fixed version
1.6.6

Exploitation

CVE-2014-3498

Probability of exploitation in the next 30 days: 2.59%

FIRST EPSS · 2026-11-22

Description

User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.

Links