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
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 5
- Red Hat Ansible Automation Platform 2.5 for RHEL 8unaffected: 0:4.6.33-1.el8ap and laterCVE List
- Red Hat Ansible Automation Platform 2.5 for RHEL 9unaffected: 0:4.6.33-1.el9ap and laterCVE List
- Red Hat Ansible Automation Platform 2.6 for RHEL 9unaffected: 0:4.7.17-1.el9ap and laterCVE List
- Red Hat Ansible Automation Platform 2.6unaffected: 1789673739 and laterCVE List
- Red Hat Ansible Automation Platform 2.7unaffected: 1789580684 and laterCVE List
References 6
- access.redhat.com/errata/RHSA-2026:71113Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:71114Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:71177Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:71179Advisoryvia CVE List
- access.redhat.com/security/cve/CVE-2026-84706Advisoryvia CVE List
- bugzilla.redhat.com/show_bug.cgi?id=2527187Referencevia CVE List