Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-84691

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-84691

Red Hat Ansible Automation Platform 2.5 for RHEL 8

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Ansible Automation Platform 2.5 for RHEL 9

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Ansible Automation Platform 2.6 for RHEL 9

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Ansible Automation Platform 2.6

Source reference: /containers/cna/affected/3/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Ansible Automation Platform 2.7

Source reference: /containers/cna/affected/4/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:/a:redhat:ansible_automation_platform:2.5::el8",
      "cpe:/a:redhat:ansible_automation_platform:2.5::el9",
      "cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8",
      "cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9",
      "cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8",
      "cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:4.6.33-1.el8ap",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "automation-controller",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:ansible_automation_platform:2.5::el8",
      "cpe:/a:redhat:ansible_automation_platform:2.5::el9",
      "cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8",
      "cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9",
      "cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8",
      "cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:4.6.33-1.el9ap",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "automation-controller",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:ansible_automation_platform:2.6::el10",
      "cpe:/a:redhat:ansible_automation_platform:2.6::el9",
      "cpe:/a:redhat:ansible_automation_platform_developer:2.6::el10",
      "cpe:/a:redhat:ansible_automation_platform_developer:2.6::el9",
      "cpe:/a:redhat:ansible_automation_platform_inside:2.6::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:4.7.17-1.el9ap",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "automation-controller",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:ansible_automation_platform:2.6::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Ansible Automation Platform 2.6",
    "versions": [
      {
        "status": "unaffected",
        "version": "1789673739",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "ansible-automation-platform-26/controller-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:ansible_automation_platform:2.7::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Ansible Automation Platform 2.7",
    "versions": [
      {
        "status": "unaffected",
        "version": "1789580684",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "ansible-automation-platform-27/controller-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-84691

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#32387 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement