Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2023-5764

high

A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data.

Vendor / product: Redhat — ansible

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.

CVSS
7.8
7.8 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-12-12 22:15
Modified: 2026-11-05 12:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-05 12:46 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

redhat / ansible <2.14.12, ≥2.15.0 <2.15.7, 2.16.0
fedoraproject / extra_packages_for_enterprise_linux 8.0
fedoraproject / fedora 38, 39
redhat / ansible_automation_platform 2.4
redhat / ansible_developer 1.1
redhat / ansible_inside 1.2

Weakness classification (CWE)

CWE-1336 NVD-CWE-Other

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://access.redhat.com/errata/RHSA-2023:7773
Vendor advisory: https://access.redhat.com/security/cve/CVE-2023-5764
Vendor advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2247629
Vendor advisory: https://access.redhat.com/errata/RHSA-2023:7773
Vendor advisory: https://access.redhat.com/security/cve/CVE-2023-5764
Vendor advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2247629
Patch / mitigation: https://bugzilla.redhat.com/show_bug.cgi?id=2247629
Patch / mitigation: https://bugzilla.redhat.com/show_bug.cgi?id=2247629

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 12:46 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs