CVE-2023-5764Redhat Ansible
High 7.8
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- Yes
- Published
- Dec 12, 2023
- Updated
- Nov 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1336
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ansible.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible-core |
≥ 2.16.0 < 2.16.1 |
2.16.1 |
pip install "ansible-core>=2.16.1" |
| PyPI | ansible-core |
≥ 2.15.0 < 2.15.8 |
2.15.8 |
pip install "ansible-core>=2.15.8" |
| PyPI | ansible-core |
< 2.14.12 |
2.14.12 |
pip install "ansible-core>=2.14.12" |
| PyPI | ansible-core |
< 2.14.12 |
2.14.12 |
pip install "ansible-core>=2.14.12" |
| PyPI | ansible-core |
≥ 2.15.0 < 2.15.8 |
2.15.8 |
pip install "ansible-core>=2.15.8" |
| PyPI | ansible-core |
≥ 2.16.0 < 2.16.1 |
2.16.1 |
pip install "ansible-core>=2.16.1" |
Per OSV / GitHub Advisories (GHSA-7j69-qfc3-2fq9, PYSEC-2026-1122). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 2.14.12 |
| redhat | ansible | ≥ 2.15.0 < 2.15.7 |
| redhat | ansible | 2.16.0 |
| redhat | ansible | 2.16.0 |
| redhat | ansible | 2.16.0 |
| redhat | ansible | 2.16.0 |
| fedoraproject | extra_packages_for_enterprise_linux | 8.0 |
| fedoraproject | fedora | 38 |
| fedoraproject | fedora | 39 |
| redhat | ansible_automation_platform | 2.4 |
| redhat | ansible_developer | 1.1 |
| redhat | ansible_inside | 1.2 |
Official advisories
- ansible-core-2.21-2.21.6-1.1 on GA media · SUSE · openSUSE-SU-2026:12451-1 · Nov 6, 2026 High
- ansible-core-2.20-2.20.6-1.1 on GA media · SUSE · openSUSE-SU-2026:10945-1 · Jun 3, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Patch Vendor Advisory
- lists.fedoraproject.org
- security.netapp.com