# Ansible template injection vulnerability

Advisory record · `GHSA-7j69-qfc3-2fq9`

- **Identifiers:** `GHSA-7j69-qfc3-2fq9` · `CVE-2023-5764` · `PYSEC-2026-1122`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-1336](https://cwe.mitre.org/data/definitions/1336.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 13 Dec 2023
- **Updated:** 7 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Dec 2023, 00:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `ansible-core` (PyPI): affected `>=2.16.0, <2.16.1 || >=2.15.0, <2.15.8 || <2.14.12`; fixed in `2.16.1`, `2.15.8`, `2.14.12`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0057, the 47th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 12 Dec 2023, 22:01 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2023-5764)
- 12 Dec 2023, 22:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-5764)

## Sources

- [GitHub Advisory Database: GHSA-7j69-qfc3-2fq9](https://github.com/advisories/GHSA-7j69-qfc3-2fq9)
- [OSV: GHSA-7j69-qfc3-2fq9](https://osv.dev/vulnerability/GHSA-7j69-qfc3-2fq9)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5764>
- <https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f>
- <https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a>
- <https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1>
- <https://access.redhat.com/errata/RHSA-2023:7773>
- <https://access.redhat.com/security/cve/CVE-2023-5764>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2247629>
- <https://github.com/ansible/ansible>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-7j69-qfc3-2fq9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7j69-qfc3-2fq9/>. Everything for agents: <https://agentprime.io/llms.txt>.
