Every CVE Search/ Get API key

CVE-2014-4966

Ansible Arbitrary Code Execution

9.8 CriticalFix available

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.52%Up 1.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
CVE-2014-4966
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-74
Updated
2026-11-02
CVE List No score

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
CVE-2014-4966
Updated
2026-11-02
EUVDEUVD-2020-0016 No score

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
EUVD-2020-0016
Updated
2026-11-03
GitHub AdvisoriesGHSA-wqq5-c89p-3wc3 9.3

Ansible Arbitrary Code Execution

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
GHSA-wqq5-c89p-3wc3
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
OSV 9.8

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
CVE-2014-4966
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2014-4966 9.8

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
DEBIAN-CVE-2014-4966
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVGHSA-wqq5-c89p-3wc3 9.3

Ansible Arbitrary Code Execution

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
GHSA-wqq5-c89p-3wc3
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
OSVUBUNTU-CVE-2014-4966 9.8

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
UBUNTU-CVE-2014-4966
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2014-0350 No score

Updated ansible package fixes multiple security issues

Updated ansible package fixes security vulnerabilities:

The Ansible platform before version 1.6.7 suffers from input sanitization errors that allow arbitrary code execution as well as information leak, in case an attacker is able to control certain playbook variables (CVE-2014-4678, CVE-2014-4966, CVE-2014-4967).

The ansible package has been updated to version 1.6.8, which fixes these issues and several other bugs.

Record
MGASA-2014-0350
Updated
2026-11-02
OSVopenSUSE-SU-2024:10326-1 No score

ansible-2.2.0.0-1.1 on GA media

These are all security issues fixed in the ansible-2.2.0.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10326-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14244-1 No score

ansible-9-9.8.0-1.1 on GA media

These are all security issues fixed in the ansible-9-9.8.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14244-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14536-1 No score

ansible-10-10.6.0-1.1 on GA media

These are all security issues fixed in the ansible-10-10.6.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14536-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15605-1 No score

ansible-11-11.11.0-1.1 on GA media

These are all security issues fixed in the ansible-11-11.11.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15605-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15753-1 No score

ansible-12-12.2.0-1.1 on GA media

These are all security issues fixed in the ansible-12-12.2.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15753-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:10944-1 No score

ansible-13-13.7.0-1.1 on GA media

These are all security issues fixed in the ansible-13-13.7.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10944-1
Updated
2026-11-02
OSVPYSEC-2020-204 No score

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Record
PYSEC-2020-204
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ansible
PyPI
before 1.6.7
1.6.7
ansible
Debian:12
before 1.6.8+dfsg-1
1.6.8+dfsg-1
ansible
Debian:13
before 1.6.8+dfsg-1
1.6.8+dfsg-1
ansible
Debian:14
before 1.6.8+dfsg-1
1.6.8+dfsg-1
ansible
PyPI
before 1.6.7, plus listed versions
1.01.11.21.2.11.2.2
Show 25 moreShow less
1.2.31.3.01.3.11.3.21.3.31.3.41.41.4.11.4.21.4.31.4.41.4.51.51.5.11.5.21.5.31.5.41.5.51.61.6.11.6.21.6.31.6.41.6.51.6.6
1.6.7
ansible
Mageia:4
From an advisory covering 3 CVEs
before 1.6.10-1.mga4
1.6.10-1.mga4
ansible
PyPI
before 1.6.7, plus listed versions
1.01.11.21.2.11.2.2
Show 40 moreShow less
1.2.31.3.01.3.11.3.21.3.31.3.41.41.4.11.4.21.4.31.4.41.4.51.51.5.11.5.21.5.31.5.41.5.51.61.6.11.6.21.6.31.6.41.6.51.6.6v1.6.6v1.6.5v1.6.4v1.6.3v1.6.2v1.6.1v1.6.0v1.4.0v1.2v1.1v1.00.70.30.0.10.01
1.6.7
ansible
Ubuntu:Pro:14.04:LTS
before 1.5.4+dfsg-1ubuntu0.1~esm2, plus listed versions
1.1+dfsg-11.3.4+dfsg-11.4.0+dfsg-11.4.1+dfsg-11.4.3+dfsg-11.4.4+dfsg-11.5.4+dfsg-11.5.4+dfsg-1ubuntu0.1~esm1
1.5.4+dfsg-1ubuntu0.1~esm2
ansible
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 2.2.0.0-1.1
2.2.0.0-1.1
ansible-9
openSUSE:Tumbleweed
From an advisory covering 45 CVEs
before 9.8.0-1.1
9.8.0-1.1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
ansible-10
openSUSE:Tumbleweed
From an advisory covering 45 CVEs
before 10.6.0-1.1
10.6.0-1.1
ansible-11
openSUSE:Tumbleweed
From an advisory covering 45 CVEs
before 11.11.0-1.1
11.11.0-1.1
ansible-12
openSUSE:Tumbleweed
From an advisory covering 45 CVEs
before 12.2.0-1.1
12.2.0-1.1
ansible-13
openSUSE:Tumbleweed
From an advisory covering 45 CVEs
before 13.7.0-1.1
13.7.0-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2014-4966 is a critical vulnerability (CVSS 9.8) in Redhat Ansible, published August 25, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.52%, the 89th percentile. Fixed in ansible 1.6.7.

References

Show 56 moreShow less
MoveEnter Open