Automation-controller: automation-controller-container: automation-controller: view_jobtemplate to execute privilege escalation via host_config_key exposure and x-forwarded-for spoofing of provisioning-callback host match
- CVE-2026-84474
- GHSA-2mcj-95p4-49mv
- EUVD-2026-85555
Description
A flaw was found in Red Hat Ansible Automation Platform's automation- controller. The provisioning-callback secret (host_config_key) is exposed to users holding only the read-level view_jobtemplate permission -- both in the job template API representation and in the activity stream -- and the provisioning callback endpoint trusts a client-supplied X-Forwarded-For header to determine the calling host when the controller is deployed behind the AAP gateway with an empty proxy allow-list. By reading the secret and spoofing X-Forwarded-For to match any host in the job template's inventory, a minimally privileged or unauthenticated remote attacker can launch the job template against arbitrary managed hosts using the job template's credentials, resulting in privilege escalation and remote code execution on managed hosts.
Text from the CVE.org record.
Affected
Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8
- from 0:4.5.36-1.el8ap onwards: not affected
Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9
- from 0:4.5.36-1.el9ap onwards: not affected
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
- from 0:4.6.33-1.el8ap onwards: not affected
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9
- from 0:4.6.33-1.el9ap onwards: not affected
Red Hat Red Hat Ansible Automation Platform 2.6
- from 1789673739 onwards: not affected
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9
- from 0:4.7.17-1.el9ap onwards: not affected
Red Hat Red Hat Ansible Automation Platform 2.7
- from 1789580684 onwards: not affected
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.