Vulnerability · CVE-2014-4657
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
Published Feb 20, 2020 · catalog updated Jun 17, 2026 · The safe_eval function in
Last checked Nov 6, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2014-4657. EPSS is 4.51%. Act only if a listed version of The safe_eval function in is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (The safe_eval function in).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2024-0690 · Medium
- CVE-2023-5764 · High
- CVE-2022-3697 · High
- CVE-2021-20180 · Medium
- CVE-2021-20178 · Medium
- Severity
- Critical9.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 4.51%
- Remediation
- Version ranges on file
- Affected products
- cpe redhat/ansible
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe redhat/ansible< 1.5.4
How to fix CVE-2014-4657
Upgrade
CVE-2014-4657 lists a fix boundary at 1.5.4. Compare the installed build with that boundary before you change production.
Version check
Affected < 1.5.4
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2014-4657. EPSS is 4.51%. Act only if a listed version of The safe_eval function in is installed.
Which versions are affected?
Compare what you have installed with < 1.5.4. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-20: Improper Input Validation. EPSS 4.51%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Feb 20, 2020 · Monitored products — high
Detected
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
Jun 17, 2026 · Monitored products — high
Updated
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
Sources
- CVE.orgVulnerability recordCVE-2014-4657
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2014-4657
30-day exploitation probability 4.51%
first.org - Monitored products — highVendor advisoryCVE-2014-4657
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
nvd.nist.gov
References
Freshness
Last verified in this catalog Nov 6, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 6, 2026
- CVE.orgNov 4, 2026
- Monitored products — highNov 2, 2026