{
  "id": "CVE-2026-84691",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-84691",
  "published_at": "2026-09-23T19:02:26.62Z",
  "title": "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",
  "vendor": "Red Hat",
  "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Red Hat Ansible Automation Platform's automation-\ncontroller. The setting that formats the log message emitted for API 4XX errors\nis an administrator-controlled Python format-string template that is rendered\nwith a live user object as an argument. Because Python string formatting permits\nattribute and item traversal on its arguments, an administrator can craft a\ntemplate that walks from the user object into the application settings and reads\nthe Django secret key and the database password. The formatted message is written\nto a logger that can be forwarded to an external log aggregator, whose destination\nis also administrator-controlled, allowing the secrets to be sent off the host. An\nauthenticated administrator can thereby obtain the master encryption key used to\nprotect all stored credentials and the database service password, enabling offline\ndecryption of every stored credential, forgery of user sessions, and direct\naccess to the controller database.",
  "cwe": "CWE-134",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "0:4.6.33-1.el8ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "0:4.6.33-1.el8ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:4.6.33-1.el9ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:4.6.33-1.el9ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:4.7.17-1.el9ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:4.7.17-1.el9ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.6",
        "ranges": null,
        "fixed_in": [
          "1789673739"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.7",
        "ranges": null,
        "fixed_in": [
          "1789580684"
        ]
      }
    ],
    "upgrade": [
      "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."
    ],
    "workarounds": [
      "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": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:71113"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:71114"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:71177"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:71179"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
