Aap-gateway-operator: resource-server secret exposed in plaintext in the automationcontroller custom resource
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 12, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 11, 2026
Description
A cleartext storage flaw was found in the AAP Gateway Operator. When reconciling an AutomationController, the operator reads the protected resource-server Secret (Secret/<aap-name>-resource-server, key controller_resource_server_secret) and copies its plaintext value into the generated AutomationController custom resource under spec.extra_settings (RESOURCE_SERVER.SECRET_KEY). Although the operator uses no_log to keep the value out of its own logs, serializing it into the custom resource exposes it to any principal able to read the AutomationController CR without permission to read the backing Kubernetes Secret, breaking the expected OpenShift RBAC separation between the two resources. The value may also propagate into Kubernetes API/etcd storage, GitOps and Argo diffs and history, rendered manifests, support bundles, and audit data. The resource-server secret is intended for trusted Gateway-to-Controller service authentication, and its disclosure may allow a user to impersonate a trusted Controller service and reach privileged service-index APIs.
| Product | Versions |
|---|---|
| Red Hat Ansible Automation Platform 2 Red Hat | |
| Red Hat Ansible Automation Platform 2 Red Hat | |
| Red Hat Ansible Automation Platform 2 Red Hat | |
| Red Hat Ansible Automation Platform 2 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | redhat |
Weaknesses
- CWE-312 Cleartext Storage of Sensitive Information
References
- https://access.redhat.com/security/cve/CVE-2026-126643Vulnerability Database
- RHBZ#2571730Issue Tracker
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.