GPU VulnDB

Database/Control plane, storage & DevOps

Ansible automation-controller: log format template reads the Django secret key and DB password

CVSS 8.7CVE-2026-84691Control plane, storage & DevOpscurated

Impact

The administrator-controlled template that formats log messages for API 4XX errors is rendered as a Python format string with a live user object as its argument, and Python formatting allows attribute and item traversal. A template can walk from that object into application settings and read the Django secret key and the database password, and the formatted line goes to a logger whose external aggregator destination is also administrator-controlled - so the secrets leave the host. The secret key is the master key protecting every stored credential, which means offline decryption of all of them plus session forgery and direct database access. Where automation-controller drives a GPU fleet, those stored credentials are typically the fleet's BMC logins, SSH keys, cloud and registry tokens: a controller compromise becomes fleet compromise, and remediation is credential rotation across every node rather than a single patch.

Who can reach it

Network, authenticated as an automation-controller administrator (the CVSS vector requires high privileges). It is a privilege-boundary break - an admin of the controller UI extracts the encryption key and database password that the platform is meant to keep from them - and the exfiltration path is the existing external log forwarder.

What to do

Apply the Red Hat errata for your release: RHSA-2026:71113 / 71114 / 71177 / 71179 cover Ansible Automation Platform 2.5 and 2.6 on RHEL 8 and 9. Package update and a controller service restart; no GPU node disruption. Because the key and database password may already be out via the log aggregator, rotate the Django secret key, the controller database password and every credential stored in the controller, and review the log-aggregator destination and the 4XX log template for tampering.

References

Related entries

All Control plane, storage & DevOps entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.