Red Hat Ansible Automation Platform 2.5 for RHEL 8
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 administrator
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
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.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
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
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:71177
1 more
- 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.