CVE-2026-84474
Automation-controller: automation-controller-container: automation-controller: view_jobtemplate to execute privilege escalation via host_config_key exposure and x-forwarded-for spo
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| automation-controllerRed Hat | unaffected: 0:4.5.36-1.el8ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.5.36-1.el8ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.5.36-1.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.5.36-1.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.33-1.el8ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.33-1.el8ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.33-1.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.33-1.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.7.17-1.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.7.17-1.el9ap to < * | See vendor advisory |
| ansible-automation-platform-26/controller-rhel9Red Hat | unaffected: 1789673739 to < * | See vendor advisory |
| ansible-automation-platform-27/controller-rhel9Red Hat | unaffected: 1789580684 to < * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-84474
- https://access.redhat.com/errata/RHSA-2026:71113
- https://access.redhat.com/errata/RHSA-2026:71114
- https://access.redhat.com/errata/RHSA-2026:71115
- https://access.redhat.com/errata/RHSA-2026:71177
- https://access.redhat.com/errata/RHSA-2026:71179
- https://access.redhat.com/security/cve/CVE-2026-84474
- https://bugzilla.redhat.com/show_bug.cgi?id=2527073