CVE-2026-84714: Incomplete List of Disallowed Inputs in Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
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.
AI Analysis
Technical Summary
The vulnerability arises from incomplete input validation in the sanitize_jinja() function of the automation-controller component in Red Hat Ansible Automation Platform 2. The function uses two regular expressions to reject user-supplied Jinja templates but stops at the first interior '}' or '%' character, allowing nested braces (e.g., empty dicts) to pass through. Since sanitize_jinja() is the only guard on several critical fields (ad-hoc command module_args, machine credential username, become_method, become_user, and inventory host names), a low-privileged user can inject Jinja code that ansible-core evaluates in the execution environment. This bypasses administrator allowlists for ad-hoc commands and enables execution of arbitrary commands and disclosure of secrets from credentials the attacker should not access. The CVSS v3.1 score is 7.1 (High) with network attack vector, low complexity, low privileges required, no user interaction, unchanged scope, high confidentiality impact, low integrity impact, and no availability impact. No known exploits in the wild have been reported. The vendor advisory is available at https://access.redhat.com/security/cve/CVE-2026-84714.
Potential Impact
An attacker with low privileges can inject malicious Jinja templates into several launch-time fields that are evaluated by ansible-core, enabling arbitrary command execution within the execution environment. This bypasses administrative restrictions such as AD_HOC_COMMANDS module allowlists. Additionally, the attacker can disclose secrets from credentials they are not authorized to read by templating environment variables injected by co-attached credentials. The vulnerability compromises confidentiality significantly and integrity to a lesser extent, without affecting availability.
Mitigation Recommendations
The vendor advisory does not explicitly state that a fix is currently available or provide patch links. Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-84714 for current remediation guidance. Until a fix is released, administrators should consider restricting access to affected fields and carefully review user privileges to limit exposure. Monitoring vendor updates for patches or official mitigations is recommended.
CVE-2026-84714: Incomplete List of Disallowed Inputs in Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
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.
CVSS v3.1
Score 7.1high
Affected software
Red Hat
Red Hat Ansible Automation Platform 2.5 for RHEL 8
Red Hat
Red Hat Ansible Automation Platform 2.5 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2.6 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from incomplete input validation in the sanitize_jinja() function of the automation-controller component in Red Hat Ansible Automation Platform 2. The function uses two regular expressions to reject user-supplied Jinja templates but stops at the first interior '}' or '%' character, allowing nested braces (e.g., empty dicts) to pass through. Since sanitize_jinja() is the only guard on several critical fields (ad-hoc command module_args, machine credential username, become_method, become_user, and inventory host names), a low-privileged user can inject Jinja code that ansible-core evaluates in the execution environment. This bypasses administrator allowlists for ad-hoc commands and enables execution of arbitrary commands and disclosure of secrets from credentials the attacker should not access. The CVSS v3.1 score is 7.1 (High) with network attack vector, low complexity, low privileges required, no user interaction, unchanged scope, high confidentiality impact, low integrity impact, and no availability impact. No known exploits in the wild have been reported. The vendor advisory is available at https://access.redhat.com/security/cve/CVE-2026-84714.
Potential Impact
An attacker with low privileges can inject malicious Jinja templates into several launch-time fields that are evaluated by ansible-core, enabling arbitrary command execution within the execution environment. This bypasses administrative restrictions such as AD_HOC_COMMANDS module allowlists. Additionally, the attacker can disclose secrets from credentials they are not authorized to read by templating environment variables injected by co-attached credentials. The vulnerability compromises confidentiality significantly and integrity to a lesser extent, without affecting availability.
Mitigation Recommendations
The vendor advisory does not explicitly state that a fix is currently available or provide patch links. Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-84714 for current remediation guidance. Until a fix is released, administrators should consider restricting access to affected fields and carefully review user privileges to limit exposure. Monitoring vendor updates for patches or official mitigations is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-02T00:55:17.044Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-84714","vendor":"Red Hat"}]
Threat ID: 6ab42d09f7a7c541063f0e46
Added to database: 09/23/2026, 19:48:25 UTC
Last enriched: 09/23/2026, 20:19:31 UTC
Last updated: 09/24/2026, 03:48:16 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.