CVE-2024-6840
Automation-controller: gain access to the k8s api server via job execution with container group
- State
- Published
- Severity
- 6.6 Medium
- Published
- Sep 12, 2024
- Updated
- Nov 20, 2025
- Reserved
- Jul 17, 2024
Description
An improper authorization flaw exists in the Ansible Automation Controller. This flaw allows an attacker using the k8S API server to send an HTTP request with a service account token mounted via `automountServiceAccountToken: true`, resulting in privilege escalation to a service account.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.6 Medium | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N | redhat |
Weaknesses
- CWE-285 Improper Authorization
Affected Products
| Product | Versions |
|---|---|
automation-controller |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat |
|
References
- RHSA-2024:6428vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-6840vdb-entry
- RHBZ#2298492issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.