Skip to content
OpenAdvisories
Critical · 9.8 CVE-2014-4966 EUVD-2020-0016GHSA-wqq5-c89p-3wc3PYSEC-2020-204

Ansible Arbitrary Code Execution

Published Feb 18, 2020 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 1.6.8+dfsg-1 —
Debian 13 ansible 1.6.8+dfsg-1 —
Debian 12 ansible 1.6.8+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS ansible 1.5.4+dfsg-1ubuntu0.1~esm2 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ansible 2.2.0.0-1.1 openSUSE-SU-2024:10326-1
openSUSE Tumbleweed ansible-10 10.6.0-1.1 openSUSE-SU-2024:14536-1
openSUSE Tumbleweed ansible-11 11.11.0-1.1 openSUSE-SU-2025:15605-1
openSUSE Tumbleweed ansible-12 12.2.0-1.1 openSUSE-SU-2025:15753-1
openSUSE Tumbleweed ansible-13 13.7.0-1.1 openSUSE-SU-2026:10944-1
openSUSE Tumbleweed ansible-14 14.6.0-1.1 openSUSE-SU-2026:12447-1
openSUSE Tumbleweed ansible-9 9.8.0-1.1 openSUSE-SU-2024:14244-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible < 1.6.7 1.6.7 GHSA-wqq5-c89p-3wc3

Advisories 7

References