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.
Published: 2026-09-23
Score: 7.6 High
EPSS: n/a
KEV: No
Impact: Arbitrary code execution inside automation‑environment containers
Action: Apply Patch
AI Analysis

Impact

A flaw in Red Hat Ansible Automation Platform’s automation‑controller allows a privileged user to write a malicious script into the credential injector’s execution environment and then redirect a process‑hijacking variable such as BASH_ENV to that script. The custom environment‑variable injector performs name validation against a deny‑list that unintentionally omits critical loader variables like BASH_ENV, LD_PRELOAD, and PYTHONSTARTUP. When such an environment variable points to an attacker‑controlled script, it is executed within the container that runs any job using the affected credential type, giving the attacker arbitrary code execution inside that job’s isolated environment.

Affected Systems

Red Hat Ansible Automation Platform 2, as identified by the CVE sources. No finer version granularity is listed, but the vulnerability applies to all instances of the platform that use the default env‑injector credential type within version 2. Any deployment of this product that relies on that credential type is potentially vulnerable.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity, and although an EPSS score is not available, the vulnerability is not currently listed in the CISA KEV catalog. The attack requires a privileged user with access to the automation‑controller to create or modify credentials. Once such a credential is attached to a job, the attacker can coerce the container runtime into executing arbitrary code. This combination of high impact and the necessity of privileged access results in a significant risk for organizations that allow broad administrator rights and deploy the vulnerable platform. Immediate patching is recommended to eliminate the attack vector.

Generated by OpenCVE AI on September 23, 2026 at 20:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to the latest release of Red Hat Ansible Automation Platform that includes the CVE‑2026‑84706 fix.
  • Restrict privileged administrator access to the automation controller and enforce least‑privilege on credential management.
  • Audit existing credentials to identify any that use the env‑injector type; replace them with safer credential types or re‑configure to avoid setting vulnerable environment variables.

Generated by OpenCVE AI on September 23, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 23 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title 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
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-184
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N'}


Subscriptions

Redhat Ansible Automation Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-23T21:47:23.595Z

Reserved: 2026-09-02T00:01:03.739Z

Link: CVE-2026-84706

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-23T20:17:17.677

Modified: 2026-09-23T20:17:17.677

Link: CVE-2026-84706

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T20:30:09Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs