CVE-2026-126643 Aap-gateway-operator: resource-server secret exposed in plaintext in the automationcontroller custom resource
Users able to read the AutomationController CR can obtain the plaintext resource-server secret and impersonate the trusted controller service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-126643?
CVE-2026-126643 is a medium-severity information disclosure vulnerability in Red Hat Ansible Automation Platform 2, published on 12 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-312
Which versions are affected by CVE-2026-126643?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-126643?
No fix has been published for CVE-2026-126643 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.
Is CVE-2026-126643 being exploited?
There is no known exploitation of CVE-2026-126643 in the wild and no public exploit code.
Sources
Also known as GHSA-frcr-3h69-qj8x.