# CVE-2014-4657

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 5% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.5.4 (CNA); fix release not confirmed
- Status: published
- Published: 2020-02-20 · Modified: 2024-08-06
- Aliases: GHSA-qg47-5px9-32g7, PYSEC-2020-199, DEBIAN-CVE-2014-4657
- Record: https://cvemate.com/vulnerability/CVE-2014-4657 · JSON: https://cvemate.com/vulnerability/CVE-2014-4657/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.513%, percentile 91.773%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian ansible (Debian): \< 1.5.5+dfsg-1
- PyPI ansible (PyPI): \< 1.5.4
- redhat ansible: \< 1.5.4

## References

- <https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md>
- <https://www.securityfocus.com/bid/68232>
- <https://nvd.nist.gov/vuln/detail/CVE-2014-4657>
- <https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c>
- <https://github.com/ansible/ansible>
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml>
- <https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232>
- <https://github.com/advisories/GHSA-qg47-5px9-32g7>
- <https://security-tracker.debian.org/tracker/CVE-2014-4657>

---

Data as of 2026-12-05T14:03:37.913Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
