CVE-2026-84691: Use of Externally-Controlled Format String in Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9
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.
AI Analysis
Technical Summary
The vulnerability arises from the automation-controller's use of an administrator-controlled Python format-string template for API 4XX error logs. Because Python string formatting permits attribute and item traversal, an attacker with administrator privileges can create a format string that traverses from the user object into application settings, extracting the Django secret key and database password. The resulting log message is sent to a logger that can forward logs to an external aggregator, also controlled by the administrator, allowing exfiltration of these secrets. This compromises the master encryption key protecting stored credentials and the database service password, enabling offline decryption of all stored credentials, user session forgery, and direct access to the controller database.
Potential Impact
An authenticated system administrator can disclose the Django SECRET_KEY and database credentials. This leads to the compromise of all stored credentials through offline decryption, forgery of user sessions, and unauthorized direct access to the controller's database. The vulnerability has a CVSS 3.1 score of 8.7 (high severity) with network attack vector, low attack complexity, high privileges required, no user interaction, and impacts confidentiality and integrity with no impact on availability.
Mitigation Recommendations
The vendor advisory does not explicitly state the patch status or mitigation steps in the provided content. Therefore, patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-84691 for current remediation guidance. Since exploitation requires authenticated administrator privileges, restricting administrator access and monitoring configuration changes to logging templates may reduce risk until a fix is applied.
CVE-2026-84691: Use of Externally-Controlled Format String in Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9
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.
CVSS v3.1
Score 8.7high
Affected software
Red Hat
Red Hat Ansible Automation Platform 2.6 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the automation-controller's use of an administrator-controlled Python format-string template for API 4XX error logs. Because Python string formatting permits attribute and item traversal, an attacker with administrator privileges can create a format string that traverses from the user object into application settings, extracting the Django secret key and database password. The resulting log message is sent to a logger that can forward logs to an external aggregator, also controlled by the administrator, allowing exfiltration of these secrets. This compromises the master encryption key protecting stored credentials and the database service password, enabling offline decryption of all stored credentials, user session forgery, and direct access to the controller database.
Potential Impact
An authenticated system administrator can disclose the Django SECRET_KEY and database credentials. This leads to the compromise of all stored credentials through offline decryption, forgery of user sessions, and unauthorized direct access to the controller's database. The vulnerability has a CVSS 3.1 score of 8.7 (high severity) with network attack vector, low attack complexity, high privileges required, no user interaction, and impacts confidentiality and integrity with no impact on availability.
Mitigation Recommendations
The vendor advisory does not explicitly state the patch status or mitigation steps in the provided content. Therefore, patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-84691 for current remediation guidance. Since exploitation requires authenticated administrator privileges, restricting administrator access and monitoring configuration changes to logging templates may reduce risk until a fix is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-01T23:02:09.581Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-84691","vendor":"Red Hat"}]
Threat ID: 6ab42d0cf7a7c541063f0e61
Added to database: 09/23/2026, 19:48:28 UTC
Last enriched: 09/23/2026, 20:03:32 UTC
Last updated: 09/24/2026, 00:02:50 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.