{"id":"CVE-2026-84706","published":"2026-09-23T20:17:17.677","lastModified":"2026-09-26T23:16:37.817","description":"A flaw was found in Ansible Automation Platform's automation-controller. The custom\nCredential Type environment-variable injector validates variable names against a\ndeny-list (an ANSIBLE_* prefix check plus a fixed ENV_BLOCKLIST) that omits\nprocess-hijacking loader variables such as BASH_ENV, ENV, LD_PRELOAD, LD_LIBRARY_PATH,\nPYTHONSTARTUP and GIT_SSH_COMMAND. Combined with the credential file injector, a\nprivileged user can write an attacker-controlled script into the execution environment\nand point BASH_ENV at it, obtaining arbitrary code execution inside the\nexecution-environment container for any job that attaches a credential of that type.","cvssScore":7.6,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N","cwes":["CWE-184"],"vendors":[],"products":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:71113","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:71114","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:71177","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:71179","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-84706","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2527187","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"A flaw in Ansible Automation Platform's automation-controller allows privileged users to inject malicious environment variables that can hijack process execution flows, potentially leading to arbitrary code execution within execution-environment containers. This occurs due to an incomplete validation of environment variable names that omits critical loader variables like BASH_ENV and LD_PRELOAD.","exploitability":"Exploitation requires a privileged user with access to create or modify credential types, and involves writing a script to a known location and setting BASH_ENV to point to it, making it moderately difficult but achievable with proper setup.","blast_radius":"If exploited, this flaw could allow attackers to execute arbitrary code in any job that uses affected credential types, potentially compromising the entire automation pipeline and enabling further lateral movement within the platform's execution environment.","remediation":"Upgrade to Ansible Automation Platform 2.590 or later to receive the fix for CVE-2026-84706.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","credential","privilege-escalation","environment-variable"],"model":"garnet-coder","analyzedAt":"2026-10-12T08:54:05.425Z"}}