- Home
- Vulnerabilities
- CVE-2026-126643
CVE-2026-126643
Aap-gateway-operator: resource-server secret exposed in plaintext in the automationcontroller custom resource
Summary
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.
Affected products and versions
Redhat (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Hat Ansible Automation Platform 2 | Versions not specified | — | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
Workaroundofficial source
Restrict OpenShift RBAC so that permission to read AutomationController custom resources is limited to principals already trusted to read the corresponding Kubernetes Secrets. Rotate the resource-server secret if untrusted principals may have been able to read the custom resource.
Source : CNA (vendor or assigner)
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://access.redhat.com/security/cve/CVE-2026-126643vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2571730issue-tracking, x_refsource_REDHAT
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Weakness
- CWE-312 · Autre (CWE-312)