A flaw was found in Ansible Automation Platform's automation-controller. (CVE-2026-84706)
A vulnerability in Ansible Automation Platform's automation-controller allows a privileged user to execute arbitrary code inside the execution-environment container. This occurs because the custom Credential Type environment-variable injector uses a deny-list that omits certain process-hijacking loader variables, enabling an attacker to inject a malicious script and manipulate the BASH_ENV variable. This flaw affects the execution of jobs that attach a credential of the vulnerable type.
AI Analysis
Technical Summary
CVE-2026-84706 describes a security flaw in the Ansible Automation Platform's automation-controller component. The vulnerability arises from the environment-variable injector for custom Credential Types, which validates variable names against a deny-list that fails to block critical process-hijacking loader variables such as BASH_ENV, ENV, LD_PRELOAD, LD_LIBRARY_PATH, PYTHONSTARTUP, and GIT_SSH_COMMAND. A privileged user can exploit this by writing an attacker-controlled script into the execution environment and setting BASH_ENV to point to it, resulting in arbitrary code execution within the execution-environment container for any job using the affected credential type.
Potential Impact
An attacker with privileged access can achieve arbitrary code execution inside the execution-environment container of Ansible Automation Platform jobs that use the vulnerable credential type. This could lead to compromise of the job execution environment and potentially further escalation within the automation infrastructure. The CVSS score is 7.6 (High), indicating significant impact on confidentiality and integrity without user interaction required.
Mitigation Recommendations
An official fix is available as per the Red Hat advisory RHSA-2026:71113. Users should apply the update for Red Hat Ansible Automation Platform 2.6 to remediate this vulnerability. The vendor advisory provides detailed patch information and users are advised to follow the official update process to ensure the vulnerability is addressed.
A flaw was found in Ansible Automation Platform's automation-controller. (CVE-2026-84706)
Description
A vulnerability in Ansible Automation Platform's automation-controller allows a privileged user to execute arbitrary code inside the execution-environment container. This occurs because the custom Credential Type environment-variable injector uses a deny-list that omits certain process-hijacking loader variables, enabling an attacker to inject a malicious script and manipulate the BASH_ENV variable. This flaw affects the execution of jobs that attach a credential of the vulnerable type.
CVSS v3.1
Score 7.6high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-84706 describes a security flaw in the Ansible Automation Platform's automation-controller component. The vulnerability arises from the environment-variable injector for custom Credential Types, which validates variable names against a deny-list that fails to block critical process-hijacking loader variables such as BASH_ENV, ENV, LD_PRELOAD, LD_LIBRARY_PATH, PYTHONSTARTUP, and GIT_SSH_COMMAND. A privileged user can exploit this by writing an attacker-controlled script into the execution environment and setting BASH_ENV to point to it, resulting in arbitrary code execution within the execution-environment container for any job using the affected credential type.
Potential Impact
An attacker with privileged access can achieve arbitrary code execution inside the execution-environment container of Ansible Automation Platform jobs that use the vulnerable credential type. This could lead to compromise of the job execution environment and potentially further escalation within the automation infrastructure. The CVSS score is 7.6 (High), indicating significant impact on confidentiality and integrity without user interaction required.
Mitigation Recommendations
An official fix is available as per the Red Hat advisory RHSA-2026:71113. Users should apply the update for Red Hat Ansible Automation Platform 2.6 to remediate this vulnerability. The vendor advisory provides detailed patch information and users are advised to follow the official update process to ensure the vulnerability is addressed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5vrq-6q93-m3rf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-84706"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Patch Information
Threat ID: 6ab4be23f7a7c54106eee97d
Added to database: 09/24/2026, 06:07:31 UTC
Last enriched: 09/24/2026, 06:19:46 UTC
Last updated: 09/25/2026, 04:47:34 UTC
Views: 6
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.