# CVE-2026-126643: Aap-gateway-operator: resource-server secret exposed in plaintext in the automationcontroller custom resource

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-12T10:47:33.808Z
- Modified: 2026-11-16T19:17:32.540Z
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ansible-automation-platform-25/gateway-rhel8-operator: no versions given
- ansible-automation-platform-25/gateway-rhel9-operator: no versions given
- ansible-automation-platform-26/gateway-rhel9-operator: no versions given
- ansible-automation-platform-27/gateway-rhel9-operator: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-126643> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2571730> (issue-tracking)

## Sources

- CVE List: [CVE-2026-126643](https://www.cve.org/CVERecord?id=CVE-2026-126643), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-126643](https://nvd.nist.gov/vuln/detail/CVE-2026-126643), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-126643 · Whole record: https://cve.day/CVE-2026-126643.json · Rebuilt by cve.day 2026-11-25T22:59:50.508Z
