CVE-2026-84714Automation-controller: automation-controller: incomplete sanitize_jinja() regex allows jinja template injection into ad-hoc module_args, machine-credential fields, and host names, reaching ansible-core templating in the execution environment
- 7.1HighCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 78% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A flaw was found in the automation-controller input-validation guard sanitize_jinja(). The function uses two regular expressions to reject user-supplied Jinja, but the patterns stop at the first interior '}' or '%' character, so a Jinja expression containing an inner brace (for example an empty dict) is accepted while remaining valid Jinja. Because sanitize_jinja() is the sole guard on several launch-time fields — ad-hoc command module_args, Machine-credential username / become_method / become_user, and inventory host names — a low-privileged user can inject Jinja that ansible-core evaluates in the execution environment. This enables execution of arbitrary commands in the execution environment (bypassing an administrator's AD_HOC_COMMANDS module allowlist) and disclosure of secrets belonging to credentials the attacker cannot read (by templating a co-attached credential's injected environment variables), across the credential access-control boundary.
Timeline
ID reserved
By redhat
- 21 days later
· 21 days later
Published
- 42 days later
· 42 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.29% · top 78% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- unaffected 0:4.6.33-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- unaffected 0:4.6.33-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- unaffected 0:4.6.33-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- unaffected 0:4.6.33-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9
- unaffected 0:4.7.17-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9
- unaffected 0:4.7.17-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.6
- unaffected 1789673739 – < *
Red Hat · Red Hat Ansible Automation Platform 2.7
- unaffected 1789580684 – < *
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
References6
- RHSA-2026:71113 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71114 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71177 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71179 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-84714 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2527198 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-85605 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-84714)Record last updated .