Live threats

All CVEs / Redhat

CVE-2014-4678Redhat Ansible

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
5.3%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Feb 20, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible < 1.6.4 1.6.4 pip install "ansible>=1.6.4"
PyPI ansible < 1.6.4 1.6.4 pip install "ansible>=1.6.4"

Per OSV / GitHub Advisories (GHSA-66c7-5pwv-mm3j, PYSEC-2020-203). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible< 1.6.4
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.