Skip to main content
CVE-2024-6840VulnerabilityPublished Updated

CVE-2024-6840: ansible-automation-controller · Improper Authorization

Affects ansible-automation-controllerSource CVE Database V5

0

Not known to be exploited · CVSS 6.6 Medium.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
6.6Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Red Hatredhat/ansible-automation-controllerpkg:rpm/redhat/ansible-automation-controllerOther threatsAffected
  • =4.5.10-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-6840, organizations should first upgrade Ansible Automation Controller to a version where this vulnerability is patched once available. Until a patch is released, restrict the use of automountServiceAccountToken: true in Kubernetes service account configurations, especially for service accounts used by Ansible Automation Controller. Limit permissions granted to service accounts to the minimum necessary (principle of least privilege) to reduce the impact of potential escalation. Implement network segmentation and strict API server access controls to prevent unauthorized HTTP requests to the Kubernetes API server. Monitor Kubernetes audit logs for suspicious API requests involving service account tokens. Employ runtime security tools to detect anomalous behavior in automation workflows. Regularly review and rotate service account tokens and credentials. Finally, educate DevOps and security teams about the risks of improper authorization in automation tools and enforce secure configuration management practices.

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.

References

Community reviews

Loading reviews…