CVE-2024-6840
Automation-controller: gain access to the k8s api server via job execution with container group
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.6
Automation-controller: gain access to the k8s api server via job execution with container group
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.
- Record
CVE-2024-6840- CVSS 3.1
- 6.6 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N - Weakness
- CWE-285
- Updated
- 2026-11-05
EUVDEUVD-2024-48013
6.6
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.
- Record
EUVD-2024-48013- CVSS 3.1
- 6.6 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N - Updated
- 2026-11-05
GitHub AdvisoriesGHSA-64w6-7xrg-vmhg
6.6
An improper authorization flaw exists in the Ansible Automation Controller. This flaw allows an...
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.
- Record
GHSA-64w6-7xrg-vmhg- CVSS 3.1
- 6.6 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N - Weakness
- CWE-285
- Updated
- 2026-11-02
NVD
6.6
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.
- Record
CVE-2024-6840- CVSS 3.1
- 6.6 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N - Weakness
- CWE-285
- Updated
- 2026-11-05
OSVRHSA-2024:6428
7.5
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Record
RHSA-2024:6428- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
python39-zippRed Hat:ansible_automation_platform_developer:2.4::el8 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el8ap | 0:3.19.2-1.el8ap |
python39-zippRed Hat:ansible_automation_platform_inside:2.4::el8 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el8ap | 0:3.19.2-1.el8ap |
python39-zippRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el8ap | 0:3.19.2-1.el8ap |
python-zippRed Hat:ansible_automation_platform_developer:2.4::el9 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el9ap | 0:3.19.2-1.el9ap |
python3-zippRed Hat:ansible_automation_platform_developer:2.4::el9 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el9ap | 0:3.19.2-1.el9ap |
python-zippRed Hat:ansible_automation_platform_inside:2.4::el9 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el9ap | 0:3.19.2-1.el9ap |
python3-zippRed Hat:ansible_automation_platform_inside:2.4::el9 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el9ap | 0:3.19.2-1.el9ap |
python-zippRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el9ap | 0:3.19.2-1.el9ap |
python3-zippRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:3.19.2-1.el9ap | 0:3.19.2-1.el9ap |
automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
python39-grpcioRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el8ap | 0:1.58.3-1.el8ap |
python39-grpcio-debuginfoRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el8ap | 0:1.58.3-1.el8ap |
python3x-grpcioRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el8ap | 0:1.58.3-1.el8ap |
python3x-grpcio-debugsourceRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el8ap | 0:1.58.3-1.el8ap |
python-grpcioRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el9ap | 0:1.58.3-1.el9ap |
python-grpcio-debugsourceRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el9ap | 0:1.58.3-1.el9ap |
python3-grpcioRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el9ap | 0:1.58.3-1.el9ap |
python3-grpcio-debuginfoRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:1.58.3-1.el9ap | 0:1.58.3-1.el9ap |
python39-djangoRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.2.15-1.el8ap | 0:4.2.15-1.el8ap |
python3x-djangoRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.2.15-1.el8ap | 0:4.2.15-1.el8ap |
python-djangoRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.2.15-1.el9ap | 0:4.2.15-1.el9ap |
python3-djangoRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.2.15-1.el9ap | 0:4.2.15-1.el9ap |
automation-controllerRed Hat:ansible_automation_platform_developer:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
automation-controller-cliRed Hat:ansible_automation_platform_developer:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
automation-controllerRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
automation-controller-cliRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
automation-controller-serverRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
automation-controller-uiRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el8ap | 0:4.5.10-1.el8ap |
automation-controllerRed Hat:ansible_automation_platform_developer:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
automation-controller-cliRed Hat:ansible_automation_platform_developer:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
automation-controllerRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
automation-controller-cliRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
automation-controller-serverRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
automation-controller-uiRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 13 CVEs |
before 0:4.5.10-1.el9ap | 0:4.5.10-1.el9ap |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | NVD | |
| facts | CVE List, EUVD | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-6840 is a medium vulnerability (CVSS 6.6) in Red Hat Ansible Automation Platform 2.4 For Rhel 8, published September 12, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. No source names a fixed version.
References
access.redhat.com/errata/RHSA-2024:6428
access.redhat.com/security/cve/CVE-2024-6840
bugzilla.redhat.com/show_bug.cgi?id=2298492
nvd.nist.gov/vuln/detail/CVE-2024-6840
github.com/advisories/GHSA-64w6-7xrg-vmhg
access.redhat.com/security/updates/classification
Show 55 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=2277035
bugzilla.redhat.com/show_bug.cgi?id=2277297
bugzilla.redhat.com/show_bug.cgi?id=2295935
bugzilla.redhat.com/show_bug.cgi?id=2295936
bugzilla.redhat.com/show_bug.cgi?id=2295937
bugzilla.redhat.com/show_bug.cgi?id=2295938
bugzilla.redhat.com/show_bug.cgi?id=2296413
bugzilla.redhat.com/show_bug.cgi?id=2302433
bugzilla.redhat.com/show_bug.cgi?id=2302434
bugzilla.redhat.com/show_bug.cgi?id=2302435
bugzilla.redhat.com/show_bug.cgi?id=2302436
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_6428.json
access.redhat.com/security/cve/CVE-2024-5569
cve.org/CVERecord?id=CVE-2024-5569
nvd.nist.gov/vuln/detail/CVE-2024-5569
github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd
huntr.com/bounties/be898306-11f9-46b4-b28c-f4c4aa4ffbae
cve.org/CVERecord?id=CVE-2024-6840
access.redhat.com/security/cve/CVE-2024-7246
bugzilla.redhat.com/show_bug.cgi?id=2303104
cve.org/CVERecord?id=CVE-2024-7246
nvd.nist.gov/vuln/detail/CVE-2024-7246
github.com/grpc/grpc/issues/36245
access.redhat.com/security/cve/CVE-2024-32879
cve.org/CVERecord?id=CVE-2024-32879
nvd.nist.gov/vuln/detail/CVE-2024-32879
github.com/python-social-auth/social-app-django/security/advisories/GHSA-2gr8-3wc7-xhj3
access.redhat.com/security/cve/CVE-2024-33663
cve.org/CVERecord?id=CVE-2024-33663
nvd.nist.gov/vuln/detail/CVE-2024-33663
access.redhat.com/security/cve/CVE-2024-38875
cve.org/CVERecord?id=CVE-2024-38875
nvd.nist.gov/vuln/detail/CVE-2024-38875
access.redhat.com/security/cve/CVE-2024-39329
cve.org/CVERecord?id=CVE-2024-39329
nvd.nist.gov/vuln/detail/CVE-2024-39329
access.redhat.com/security/cve/CVE-2024-39330
cve.org/CVERecord?id=CVE-2024-39330
nvd.nist.gov/vuln/detail/CVE-2024-39330
access.redhat.com/security/cve/CVE-2024-39614
cve.org/CVERecord?id=CVE-2024-39614
nvd.nist.gov/vuln/detail/CVE-2024-39614
access.redhat.com/security/cve/CVE-2024-41989
cve.org/CVERecord?id=CVE-2024-41989
nvd.nist.gov/vuln/detail/CVE-2024-41989
access.redhat.com/security/cve/CVE-2024-41990
cve.org/CVERecord?id=CVE-2024-41990
nvd.nist.gov/vuln/detail/CVE-2024-41990
djangoproject.com/weblog/2024/aug/06/security-releases
access.redhat.com/security/cve/CVE-2024-41991
cve.org/CVERecord?id=CVE-2024-41991
nvd.nist.gov/vuln/detail/CVE-2024-41991
access.redhat.com/security/cve/CVE-2024-42005
cve.org/CVERecord?id=CVE-2024-42005
nvd.nist.gov/vuln/detail/CVE-2024-42005