Red Hat Ansible Automation Platform 2.4 for RHEL 8
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
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:4.5.36-1.el8ap
Fixed in 0:4.5.36-1.el8ap
Fixed in 0:4.5.36-1.el9ap
Fixed in 0:4.5.36-1.el9ap
Fixed in 0:4.6.33-1.el8ap
Fixed in 0:4.6.33-1.el8ap
Fixed in 0:4.6.33-1.el9ap
Fixed in 0:4.6.33-1.el9ap
Fixed in 0:4.7.17-1.el9ap
Fixed in 0:4.7.17-1.el9ap
Fixed in 1789673739
Fixed in 1789580684
Mitigation
Upgrade Red Hat Ansible Automation Platform 2.4 for RHEL 8 to 0:4.5.36-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.4 for RHEL 8 to 0:4.5.36-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.4 for RHEL 9 to 0:4.5.36-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.4 for RHEL 9 to 0:4.5.36-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:4.6.33-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:4.6.33-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:4.6.33-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:4.6.33-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 for RHEL 9 to 0:4.7.17-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 for RHEL 9 to 0:4.7.17-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 to 1789673739 or later.
Upgrade Red Hat Ansible Automation Platform 2.7 to 1789580684 or later.
Workaround
- Restrict who holds view_jobtemplate on job templates that have provisioning callback enabled; disable provisioning callback (clear host_config_key) on JTs that do not require it. - Set PROXY_IP_ALLOWED_LIST to the AAP gateway/envoy address(es) so untrusted client X-Forwarded-For headers are stripped before host matching. - Rotate any host_config_key values that may have been exposed to read-only users; review activity_stream access. - Monitor for jobs with launch_type=callback and unexpected limit values or created_by=None.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:71113
- Vendor advisory access.redhat.com/errata/RHSA-2026:71114
- Vendor advisory access.redhat.com/errata/RHSA-2026:71115
2 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:71177
- Vendor advisory access.redhat.com/errata/RHSA-2026:71179
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.