Live threats

All CVEs / Redhat

CVE-2023-5764Redhat Ansible

High 7.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatansible< 2.14.12
redhatansible≥ 2.15.0 < 2.15.7
redhatansible2.16.0
redhatansible2.16.0
redhatansible2.16.0
redhatansible2.16.0
fedoraprojectextra_packages_for_enterprise_linux8.0
fedoraprojectfedora38
fedoraprojectfedora39
redhatansible_automation_platform2.4
redhatansible_developer1.1
redhatansible_inside1.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.