CVE-2026-12564
JSON

9.6critical

Automation-controller: automation-controller: kubernetes service account token exfiltration via hashicorp vault credential ssrf

Severity
9.6critical CVSS:3.1 by redhat
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in the AAP Controller's HashiCorp Vault credential plugin. The kubernetes_auth() function in awx_plugins/credentials/hashivault.py reads the controller pod's Kubernetes service account token and sends it to an attacker-controlled URL when a HashiCorp Vault Secret Lookup credential with kubernetes_role authentication is tested. An authenticated attacker with credential-creation privileges can exfiltrate the service account token, gaining Kubernetes API access to the control plane namespaces with full pod CRUD and secret read permissions, including database credentials and the Django SECRET_KEY.

Affected

Product or packageVersionsReported by
automation-controllerNot specified
Not affected: from 0:4.5.36-1.el8ap before *, from 0:4.5.36-1.el9ap before *, from 0:4.6.33-1.el8ap before *, from 0:4.6.33-1.el9ap before *, from 0:4.7.17-1.el9ap before *
CVE List
ansible-automation-platform-26/controller-rhel9Not specified
Not affected: from 1789673739 before *
CVE List
ansible-automation-platform-27/controller-rhel9Not specified
Not affected: from 1788918363 before *
CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A flaw was found in the AAP Controller's HashiCorp Vault credential plugin. The kubernetes_auth() function in awx_plugins/credentials/hashivault.py reads the controller pod's Kubernetes service account token and sends it to an attacker-controlled URL when a HashiCorp Vault Secret Lookup credential with kubernetes_role authentication is tested. An authenticated attacker with credential-creation privileges can exfiltrate the service account token, gaining Kubernetes API access to the control plane namespaces with full pod CRUD and secret read permissions, including database credentials and the Django SECRET_KEY.

NVD (es)

Se encontró una vulnerabilidad en el plugin de credenciales de HashiCorp Vault del controlador AAP. La función kubernetes_auth() en awx_plugins/credentials/hashivault.py lee el token de cuenta de servicio de Kubernetes del pod del controlador y lo envía a una URL controlada por un atacante cuando se prueba una credencial de búsqueda de secretos de HashiCorp Vault con autenticación de rol de Kubernetes. Un atacante autenticado con privilegios de creación de credenciales puede exfiltrar el token de cuenta de servicio, obteniendo acceso a la API de Kubernetes a los espacios de nombres del plano de control con permisos completos de CRUD de pods y de lectura de secretos, incluyendo credenciales de base de datos y la SECRET_KEY de Django.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12564 changed 2026-11-04CVE Terms of Use
NVDCVE-2026-12564 changed 2026-11-04Public domain