CVE-2026-84714
published high CVSS 3.1 · 7.1Automation-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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 0:4.6.33-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 0:4.6.33-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 0:4.6.33-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 0:4.6.33-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2.6 for RHEL 9 · 0:4.7.17-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2.6 for RHEL 9 · 0:4.7.17-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-26/controller-rhel9Red Hat Ansible Automation Platform 2.6 · 1789673739 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-27/controller-rhel9Red Hat Ansible Automation Platform 2.7 · 1789580684 and later · Other versions: affected | Unaffected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 0:4.6.33-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 0:4.6.33-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 0:4.6.33-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 0:4.6.33-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | 0:4.7.17-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | 0:4.7.17-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1789673739 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1789580684 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-184 Incomplete List of Disallowed Inputs
References
6- RHSA-2026:71113 https://access.redhat.com/errata/RHSA-2026:71113
- RHSA-2026:71114 https://access.redhat.com/errata/RHSA-2026:71114
- RHSA-2026:71177 https://access.redhat.com/errata/RHSA-2026:71177
- RHSA-2026:71179 https://access.redhat.com/errata/RHSA-2026:71179
- https://access.redhat.com/security/cve/CVE-2026-84714
- RHBZ#2527198 https://bugzilla.redhat.com/show_bug.cgi?id=2527198
Provider assertions
2redhat · cna
Automation-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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a7a49829b947a851eaf055eba931dad6a4956a0b2eec6a62a7d8a3c28abca47d
- Ingested
- 04 Nov 2026, 23:56:03 UTC
- Source record
- Official CVE record