Red Hat Ansible Automation Platform 2.5 for RHEL 8
Automation-controller: automation-controller-container: automation-controller: credential type env-injector deny-list omits process-hijacking variables (bash_env/ld_preload) allowing code execution in the execution environment
A flaw was found in Ansible Automation Platform's automation-controller. The custom Credential Type environment-variable injector validates variable names against a deny-list (an ANSIBLE_* prefix check plus a fixed ENV_BLOCKLIST) that omits process-hijacking loader variables such as BASH_ENV, ENV, LD_PRELOAD, LD_LIBRARY_PATH, PYTHONSTARTUP and GIT_SSH_COMMAND. Combined with the credential file injector, a privileged user can write an attacker-controlled script into the execution environment and point BASH_ENV at it, obtaining arbitrary code execution inside the execution-environment container for any job that attaches a credential of that type.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:4.6.33-1.el8ap
Fixed in 0:4.6.33-1.el8ap
Fixed in 0:4.6.33-1.el9ap
Fixed in 0:4.6.33-1.el9ap
Fixed in 0:4.7.17-1.el9ap
Fixed in 0:4.7.17-1.el9ap
Fixed in 1789673739
Fixed in 1789580684
Mitigation
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:4.6.33-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:4.6.33-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:4.6.33-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:4.6.33-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 for RHEL 9 to 0:4.7.17-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 for RHEL 9 to 0:4.7.17-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 to 1789673739 or later.
Upgrade Red Hat Ansible Automation Platform 2.7 to 1789580684 or later.
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
- Vendor advisory access.redhat.com/errata/RHSA-2026:71113
- Vendor advisory access.redhat.com/errata/RHSA-2026:71114
- Vendor advisory access.redhat.com/errata/RHSA-2026:71177
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:71179
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.