Advisory

GHSA-7j69-qfc3-2fq9

Also known as: CVE-2023-5764, PYSEC-2026-1122

Summary

Ansible template injection vulnerability

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-12-13 00:30 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

ansible-core

PyPI · All systems

Affected

  • introduced 2.16.0, fixed 2.16.1 (ecosystem)

Fixed versions

2.16.1

Fix

  • Fixed version 2.16.1
    pip install --upgrade ansible-core==2.16.1

ansible-core

PyPI · All systems

Affected

  • introduced 2.15.0, fixed 2.15.8 (ecosystem)

Fixed versions

2.15.8

Fix

  • Fixed version 2.15.8
    pip install --upgrade ansible-core==2.15.8

ansible-core

PyPI · All systems

Affected

  • introduced 0, fixed 2.14.12 (ecosystem)

Fixed versions

2.14.12

Fix

  • Fixed version 2.14.12
    pip install --upgrade ansible-core==2.14.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences