A flaw was found in the automation-controller input-validation guard sanitize_jinja(). (CVE-2026-84714)
A vulnerability in the automation-controller's input-validation function sanitize_jinja() allows low-privileged users to inject Jinja expressions that bypass intended restrictions. This flaw enables arbitrary command execution and unauthorized disclosure of secrets across credential boundaries in the execution environment.
AI Analysis
Technical Summary
The sanitize_jinja() function in the automation-controller uses two regular expressions to reject user-supplied Jinja templates, but these patterns stop at the first interior '}' or '%' character. This allows Jinja expressions containing inner braces (e.g., empty dictionaries) to pass validation while remaining valid. Since sanitize_jinja() is the sole guard on several launch-time fields such as 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. This leads to arbitrary command execution bypassing administrator allowlists and disclosure of secrets from credentials the attacker should not access.
Potential Impact
Exploitation of this vulnerability allows an attacker with low privileges to execute arbitrary commands within the execution environment, bypassing administrative controls such as AD_HOC_COMMANDS module allowlists. Additionally, it enables unauthorized disclosure of secrets from credentials that the attacker cannot normally read by templating environment variables injected by co-attached credentials. This compromises confidentiality and integrity of the automation environment.
Mitigation Recommendations
A security update is available from Red Hat for Ansible Automation Platform 2.6 that addresses this vulnerability. Users should apply the official patch as provided in Red Hat Advisory RHSA-2026:71113 to remediate this issue. No additional mitigation steps are required beyond applying the vendor's fix.
A flaw was found in the automation-controller input-validation guard sanitize_jinja(). (CVE-2026-84714)
Description
A vulnerability in the automation-controller's input-validation function sanitize_jinja() allows low-privileged users to inject Jinja expressions that bypass intended restrictions. This flaw enables arbitrary command execution and unauthorized disclosure of secrets across credential boundaries in the execution environment.
CVSS v3.1
Score 7.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The sanitize_jinja() function in the automation-controller uses two regular expressions to reject user-supplied Jinja templates, but these patterns stop at the first interior '}' or '%' character. This allows Jinja expressions containing inner braces (e.g., empty dictionaries) to pass validation while remaining valid. Since sanitize_jinja() is the sole guard on several launch-time fields such as 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. This leads to arbitrary command execution bypassing administrator allowlists and disclosure of secrets from credentials the attacker should not access.
Potential Impact
Exploitation of this vulnerability allows an attacker with low privileges to execute arbitrary commands within the execution environment, bypassing administrative controls such as AD_HOC_COMMANDS module allowlists. Additionally, it enables unauthorized disclosure of secrets from credentials that the attacker cannot normally read by templating environment variables injected by co-attached credentials. This compromises confidentiality and integrity of the automation environment.
Mitigation Recommendations
A security update is available from Red Hat for Ansible Automation Platform 2.6 that addresses this vulnerability. Users should apply the official patch as provided in Red Hat Advisory RHSA-2026:71113 to remediate this issue. No additional mitigation steps are required beyond applying the vendor's fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8ghh-482v-94qp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-84714"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Patch Information
Threat ID: 6ab4be21f7a7c54106eee6e6
Added to database: 09/24/2026, 06:07:29 UTC
Last enriched: 09/24/2026, 06:18:34 UTC
Last updated: 09/25/2026, 03:47:33 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.