# CVE-2024-6840: Automation-controller: gain access to the k8s api server via job execution with container group

- Severity: Medium 6.6 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-02)
- Published: 2024-09-12T16:35:08.921Z
- Modified: 2026-11-05T15:16:58.773Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- automation-controller: from 4.5.10-1 before 4.5.10-1 (not affected: from 0:4.5.10-1.el8ap before *; from 0:4.5.10-1.el9ap before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:6428> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-6840> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2298492> (issue-tracking)

## Sources

- CVE List: [CVE-2024-6840](https://www.cve.org/CVERecord?id=CVE-2024-6840), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2024-6840](https://nvd.nist.gov/vuln/detail/CVE-2024-6840), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2024-6840 · Whole record: https://cve.day/CVE-2024-6840.json · Rebuilt by cve.day 2026-11-25T22:58:45.358Z
