CVE-2026-84691 Automation-controller: automation-controller-container: automation-controller: format string injection in the api 4xx error log setting discloses django secret_key and database credentials to an admin...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
A flaw was found in Red Hat Ansible Automation Platform's automation-
controller. The setting that formats the log message emitted for API 4XX errors
is an administrator-controlled Python format-string template that is rendered
with a live user object as an argument. Because Python string formatting permits
attribute and item traversal on its arguments, an administrator can craft a
template that walks from the user object into the application settings and reads
the Django secret key and the database password. The formatted message is written
to a logger that can be forwarded to an external log aggregator, whose destination
is also administrator-controlled, allowing the secrets to be sent off the host. An
authenticated administrator can thereby obtain the master encryption key used to
protect all stored credentials and the database service password, enabling offline
decryption of every stored credential, forgery of user sessions, and direct
access to the controller database.
Upgrade path
11 packages: 9 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-26/controller-rhel9:1789673739(Red Hat ansible_automation_platform 2.6 el9) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/controller-rhel9:1789580684(Red Hat ansible_automation_platform 2.7 el9) | All versions | No fix listed | No fix yet |
| redhat ansible automation platform | < 0:4.6.33-1.el8ap; < 0:4.6.33-1.el9ap; < 0:4.7.17-1.el9ap; < 1789580684 +1 more | 0:4.6.33-1.el8ap, 0:4.6.33-1.el9ap, 0:4.7.17-1.el9ap, 1789580684, 1789673739 | Fixed |
| redhat ansible automation platform developer | < 0:4.6.33-1.el8ap; < 0:4.6.33-1.el9ap; < 0:4.7.17-1.el9ap | 0:4.6.33-1.el8ap, 0:4.6.33-1.el9ap, 0:4.7.17-1.el9ap | Fixed |
| redhat ansible automation platform inside | < 0:4.6.33-1.el8ap; < 0:4.6.33-1.el9ap; < 0:4.7.17-1.el9ap | 0:4.6.33-1.el8ap, 0:4.6.33-1.el9ap, 0:4.7.17-1.el9ap | Fixed |
| redhat/automation-controller(Red Hat ansible_automation_platform 2.5 el8) | < 4.6.33-1.el8ap | 4.6.33-1.el8ap | Fixed |
| redhat/automation-controller(Red Hat ansible_automation_platform 2.5 el9) | < 4.6.33-1.el9ap | 4.6.33-1.el9ap | Fixed |
| redhat/automation-controller(Red Hat ansible_automation_platform 2.6 el9) | < 4.7.17-1.el9ap | 4.7.17-1.el9ap | Fixed |
| redhat/automation-controller(Red Hat ansible_automation_platform_developer 2.5 el8) | < 4.6.33-1.el8ap | 4.6.33-1.el8ap | Fixed |
| redhat/automation-controller(Red Hat ansible_automation_platform_developer 2.5 el9) | < 4.6.33-1.el9ap | 4.6.33-1.el9ap | Fixed |
| redhat/automation-controller(Red Hat ansible_automation_platform_developer 2.6 el9) | < 4.7.17-1.el9ap | 4.7.17-1.el9ap | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible automation platform | < 0:4.6.33-1.el8ap | 0:4.6.33-1.el8ap |
| redhat ansible automation platform developer | < 0:4.6.33-1.el8ap | 0:4.6.33-1.el8ap |
| redhat ansible automation platform inside | < 0:4.6.33-1.el8ap | 0:4.6.33-1.el8ap |
| redhat ansible automation platform | < 0:4.6.33-1.el9ap | 0:4.6.33-1.el9ap |
| redhat ansible automation platform developer | < 0:4.6.33-1.el9ap | 0:4.6.33-1.el9ap |
| redhat ansible automation platform inside | < 0:4.6.33-1.el9ap | 0:4.6.33-1.el9ap |
| redhat ansible automation platform | < 0:4.7.17-1.el9ap | 0:4.7.17-1.el9ap |
| redhat ansible automation platform developer | < 0:4.7.17-1.el9ap | 0:4.7.17-1.el9ap |
| redhat ansible automation platform inside | < 0:4.7.17-1.el9ap | 0:4.7.17-1.el9ap |
| redhat ansible automation platform | < 1789673739 | 1789673739 |
| redhat ansible automation platform | < 1789580684 | 1789580684 |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2.5::el8) | < 4.6.33-1.el8ap | 4.6.33-1.el8ap |
| redhat/automation-controller(Red Hat:ansible_automation_platform_developer:2.5::el8) | < 4.6.33-1.el8ap | 4.6.33-1.el8ap |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2.5::el9) | < 4.6.33-1.el9ap | 4.6.33-1.el9ap |
| redhat/automation-controller(Red Hat:ansible_automation_platform_developer:2.5::el9) | < 4.6.33-1.el9ap | 4.6.33-1.el9ap |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2.6::el9) | < 4.7.17-1.el9ap | 4.7.17-1.el9ap |
| redhat/automation-controller(Red Hat:ansible_automation_platform_developer:2.6::el9) | < 4.7.17-1.el9ap | 4.7.17-1.el9ap |
| redhat/ansible-automation-platform-26/controller-rhel9:1789673739(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/controller-rhel9:1789580684(Red Hat:ansible_automation_platform:2.7::el9) | All versions | No fix listed |
References
- RHSA-2026:71113 patch vendor-advisory
- RHSA-2026:71114 patch vendor-advisory
- RHSA-2026:71177 patch vendor-advisory
- RHSA-2026:71179 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2527151 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-85572 third-party-advisory