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 (Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.31 % · percentile 23 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-184 — Incomplete List of Disallowed Inputs
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N | redhat |
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-85638
- GCVE · GCVE-0-2026-84706
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8 | unaffected 0:4.6.33-1.el8ap < * |
| Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9 | unaffected 0:4.6.33-1.el9ap < * |
| Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9 | unaffected 0:4.7.17-1.el9ap < * |
| Red Hat · Red Hat Ansible Automation Platform 2.6 | unaffected 1789673739 < * |
| Red Hat · Red Hat Ansible Automation Platform 2.7 | unaffected 1789580684 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |