Skip to content
Security Alerts

CVE-2026-12564: Kubernetes service account token exfiltration from Ansible Automation Platform

The HashiCorp Vault credential plugin in AAP Controller reads the Kubernetes service account token and sends it to an attacker-supplied URL when testing credentials...

Summary

ParameterValue
CVE IDCVE-2026-12564
Alert SourceGitHub Advisory - Critical Vulnerability
CVE Publication Year2026
Date Published2026-08-18
VendorRed Hat
ProductAnsible Automation Platform
CVSS Score9.6 (critical)
EPSS ScoreNo data
CISA KEVNo
RansomwareNot confirmed

Vulnerability 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…

Required Actions

  1. Apply the Red Hat fix for Ansible Automation Platform per the advisory for CVE-2026-12564.
  2. Understand the escalation path: the attacker does not need AAP administrator rights — the ability to create credentials is enough, and that permission is granted relatively broadly. The stolen service account token, meanwhile, grants Kubernetes API access with the controller’s privileges.
  3. After updating, rotate the service account token of the controller pod. The patch alone does not invalidate credentials that may already have leaked.
  4. Review HashiCorp Vault Secret Lookup credentials for unusual Vault server URLs. An address pointing outside your infrastructure is a sign of an exploitation attempt.
  5. Verify who in AAP holds credential-creation rights — this vulnerability effectively turns that permission into cluster takeover.

Who Is Affected?

Organizations running Red Hat Ansible Automation Platform on Kubernetes or OpenShift with HashiCorp Vault credential integration configured. This typically covers automation and infrastructure teams in larger environments.

Sources


Need help securing your systems? nFlo team offers vulnerability management and 24/7 SOC services. Contact us.

Frequently asked questions

What is the CVE-2026-12564 vulnerability?

CVE-2026-12564 is a security vulnerability discovered in Kubernetes's Kubernetes. The vulnerability has been assigned a CVSS score of 9.6 (critical severity). Any organization using this product should immediately verify their exposure and take appropriate remediation steps.

Who is affected by CVE-2026-12564?

This vulnerability affects users of Kubernetes's Kubernetes. Organizations using this solution should check whether their deployed version is vulnerable and apply available security patches or implement recommended workarounds.

How to protect against CVE-2026-12564?

Apply security patches released by Kubernetes or implement recommended workarounds. Regular vulnerability monitoring and prompt patch deployment are essential for effective protection against this type of threat.

What is the risk level of CVE-2026-12564?

The vulnerability has a CVSS score of 9.6 (critical severity). Successful exploitation could lead to compromise of organizational systems and data.

Learn More

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Expert consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a consultation - we respond within 24h

Response in 24h Custom quote No obligations