CVE-2023-5764: Red Hat Ansible Automation Platform 2.4 for RHEL 8 · Template Injection
Affects Red Hat Ansible Automation Platform 2.4 for RHEL 8Source CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Dec 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
1. Apply official patches or updates from Red Hat as soon as they become available for Ansible Automation Platform 2.4 on RHEL 8. 2. Restrict access to the Ansible controller to trusted administrators only, enforcing strict access controls and monitoring. 3. Implement file integrity monitoring on template files and inputs to detect unauthorized modifications or suspicious files. 4. Use role-based access control (RBAC) within Ansible to limit who can supply or modify templates. 5. Audit and review all template files and automation scripts for unsafe or untrusted inputs. 6. Consider isolating the Ansible controller in a hardened environment with minimal network exposure. 7. Employ logging and alerting on anomalous template processing activities to detect exploitation attempts early. 8. Educate administrators about the risks of template injection and enforce secure coding practices in automation scripts. These steps go beyond generic advice by focusing on controlling template input sources, access restrictions, and proactive monitoring tailored to this vulnerability's nature.
Description
A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.
References
- access.redhat.com/errata/RHSA-2023:7773 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-5764 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2247629 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20241025-0001/ (opens in a new tab)