{"schema_version":"1.9.0","id":"CVE-2023-5764","published":"2023-12-12T22:01:33.467Z","modified":"2026-08-12T03:51:46.224699110Z","aliases":["GHSA-7j69-qfc3-2fq9","PYSEC-2026-1122"],"related":["SUSE-SU-2024:1427-1","SUSE-SU-2024:1509-1","openSUSE-SU-2024:13485-1","openSUSE-SU-2024:13486-1","openSUSE-SU-2024:14251-1","openSUSE-SU-2024:14537-1","openSUSE-SU-2025:15638-1","openSUSE-SU-2025:15754-1","openSUSE-SU-2026:10945-1"],"summary":"Ansible: template injection","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansible/ansible","events":[{"introduced":"0"},{"fixed":"1acaaadd0bcb416237410050dfd1ab1eeaabc046"},{"introduced":"748096552f96937f6e912e39b857f37b91563576"},{"fixed":"e5fd1dae573abca8103b0efbba9a517add9f541c"},{"introduced":"704ee70943c3e3ab7aeaa448f208a94220c02e6b"},{"last_affected":"2223709bddc3b8481dc2cc6924b0498a3ebf5de9"}],"database_specific":{"cpe":["cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","cpe:2.3:a:redhat:ansible:2.16.0:-:*:*:*:*:*:*","cpe:2.3:a:redhat:ansible:2.16.0:rc1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"2.14.12"},{"introduced":"2.15.0"},{"fixed":"2.15.7"},{"introduced":"2.16.0-NA"},{"last_affected":"2.16.0-NA"},{"introduced":"2.16.0-rc1"},{"last_affected":"2.16.0-rc1"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["2.16.0-NA","2.16.0-rc1","v2.15.7rc1","v2.14.12rc1","v2.15.6","v2.15.6rc1","v2.16.0rc1","v2.14.11","v2.15.5","v2.15.5rc1","v2.14.11rc1","v2.16.0b2","v2.16.0b1","v2.14.10","v2.15.4","v2.15.4rc1","v2.14.10rc1","v2.14.9","v2.15.3","v2.15.3rc1","v2.14.9rc1","v2.14.8","v2.15.2","v2.14.8rc1","v2.15.2rc1","v2.15.1","v2.14.7","v2.15.1rc1","v2.14.7rc1","v2.14.6","v2.14.6rc1","v2.15.0","v2.14.5","v2.14.5rc1","v2.14.4","v2.14.4rc1","v2.14.3","v2.14.3rc1","v2.14.2","v2.14.2rc1","v2.14.1","v2.14.1rc1","v2.14.0","v2.14.0rc2","v2.14.0rc1","v2.14.0b3","v2.14.0b2","v2.14.0b1","stable-2.11-branchpoint","v2.11.0b4","v2.11.0b3","v2.11.0b2","v2.11.0b1","stable-2.10-branchpoint","pre-ansible-base","stable-2.9-branchpoint","v2.8.0a1","v2.7.0.a1","v2.6.0a1","v2.0.0-0.5.beta3","v2.0.0-0.4.beta2","v2.0.0-0.3.beta1","v2.0.0-0.2.alpha2","v2.0.0-0.1.alpha1","v1.6.0","v1.4.0","v1.2","v1.1","v1.0","0.7","0.3","0.0.1","0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5764.json"}}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5764.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241025-0001/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"}],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-1336"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5764.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}