CVE-2014-4966
CRITICAL 9.8CVSS 3.1Ansible 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.
- Published
- 18 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-wqq5-c89p-3wc3PYSEC-2020-204
- Sources
- NVDJSONOSV GHSA-wqq5-c89p-3wc3JSONOSV PYSEC-2020-204JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
< 1.6.7 | 1.6.7 |
| OSV | PyPI | ansible | < 1.6.7 | 1.6.7 |
References
- http://www.ocert.org/advisories/ocert-2014-004.html · Third Party Advisory, WEB, ADVISORY
- https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527 · Patch, Third Party Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2014-4966 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-204.yaml · WEB
- https://github.com/advisories/GHSA-wqq5-c89p-3wc3 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 18 Feb 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Feb 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)