Bug 2528255 (CVE-2026-85475)

Summary: CVE-2026-85475 automation-controller: automation-controller-container: automation-controller: rsyslog configuration injection via LOG_AGGREGATOR_* settings leads to remote code execution in the control-plane rsyslog component
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dschmidt, jlanda, kshier, security-response-team, simaishi, stcannon, teagle, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Ansible Automation Platform automation controller. The external logging (rsyslog) configuration is generated by interpolating user-controlled settings — LOG_AGGREGATOR_HOST, LOG_AGGREGATOR_MAX_DISK_USAGE_PATH and LOG_AGGREGATOR_RSYSLOGD_ERROR_LOG_FILE — into an rsyslog RainerScript config file without neutralizing RainerScript syntax. A privileged (superuser) user can inject rsyslog directives, including an omprog action, causing arbitrary command execution inside the control-plane rsyslog component. This allows disclosure of the controller SECRET_KEY and database credentials, decryption of all stored credentials, and full compromise of the control plane.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Deadline: 2026-10-01   

Description OSIDB Bzimport 2026-09-03 20:39:28 UTC
Controller registers LOG_AGGREGATOR_HOST as a bare CharField with no character
  validation, and the logging settings validator only verifies that host/type
  are present. When any LOG_AGGREGATOR* setting is changed via
  PATCH /api/controller/v2/settings/logging/ (superuser-only), Controller
  regenerates /var/lib/awx/rsyslog/rsyslog.conf and restarts awx-rsyslogd. In the
  tcp/udp (omfwd) code path the host value is written raw as target="{host}",
  allowing an attacker to close the action() statement and append
  module(load="omprog") plus an omprog action() whose binary= runs an arbitrary
  shell command in the rsyslog control-plane component (uid=awx). That process can
  read SECRET_KEY and the Postgres credentials, decrypt every stored Credential,
  and forge inter-service JWTs.
    Upstream:        https://github.com/ansible/awx (devel) — UNFIXED (no PR)
    Affected file:   awx/main/utils/external_logging.py
                     (construct_rsyslog_conf_template: :26 spoolDirectory,
                      :100 errorfile, :128 target); awx/main/conf.py
                     (:565-574, :958-979); awx/conf/views.py (:131-133)