Kubernetes token exfiltration via credential-test SSRF
Published Aug 18, 2026 · Updated Aug 18, 2026
SSRF in Red Hat Ansible Automation Platform 2 allows remote authenticated users to exfiltrate a Kubernetes service account token. The kubernetes_auth() function in awx_plugins/credentials/hashivault.py reads /var/run/secrets/kubernetes.io/serviceaccount/token and POSTs it as a JWT to a user-supplied Vault URL when the credential test endpoint exercises kubernetes_role authentication, with no target validation or restriction. Attackers need credential-creation privileges; the stolen automation-controller service account token grants Kubernetes API access in AAP control-plane namespaces, including pod CRUD and secret reads such as database credentials and the Django SECRET_KEY.
Summary
What happened
SSRF in Red Hat Ansible Automation Platform 2 allows remote authenticated users to exfiltrate a Kubernetes service account token. The kubernetes_auth() function in awx_plugins/credentials/hashivault.py reads /var/run/secrets/kubernetes.io/serviceaccount/token and POSTs it as a JWT to a user-supplied Vault URL when the credential test endpoint exercises kubernetes_role authentication, with no target validation or restriction. Attackers need credential-creation privileges; the stolen automation-controller service account token grants Kubernetes API access in AAP control-plane namespaces, including pod CRUD and secret reads such as database credentials and the Django SECRET_KEY.
The record
- CVE
- CVE-2026-12564
- Published
- Aug 18, 2026
- Updated
- Aug 18, 2026
- Vendor
- 389 Directory Server
- Product
- Red Hat Ansible Automation Platform
- Classifications
- CWE-918, T1528
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 18, 2026CVE publishedPublication date reported by the CVE source.
- Aug 18, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo