CVE-2024-8775
Ansible vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-8775) was discovered in Ansible, affecting versions prior to 2.16.13 and 2.17.6. The flaw allows sensitive information stored in Ansible Vault files to be exposed in plaintext during playbook execution when using tasks such as includevars to load vaulted variables without setting the nolog: true parameter. This vulnerability was discovered and disclosed in September 2024 (NVD, GitHub Advisory).

Technical details

The vulnerability occurs when tasks that load vaulted variables are executed without the no_log: true parameter setting. This implementation flaw can result in sensitive data being printed in the playbook output or logs. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating local access is required but the complexity of exploitation is low (Red Hat).

Impact

The vulnerability can lead to the unintentional disclosure of secrets like passwords or API keys stored in Ansible Vault files. This exposure of sensitive information could potentially allow unauthorized access or actions, compromising the security of systems managed through Ansible (NVD).

Mitigation and workarounds

The vulnerability has been patched in Ansible Core versions 2.16.13 and 2.17.6. Users should upgrade to these or later versions. As a workaround, users should ensure the no_log: true parameter is set when using tasks that load vaulted variables (Red Hat).

Additional resources


SourceThis report was generated using AI

Related Ansible vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-1313MEDIUM6.5
  • GrafanaGrafana
  • POS_Image-Graphical7
NoYesMar 26, 2024
CVE-2024-9902MEDIUM6.3
  • AnsibleAnsible
  • ansible
NoYesNov 06, 2024
CVE-2025-14010MEDIUM5.5
  • AnsibleAnsible
  • ansible
NoYesDec 04, 2025
CVE-2024-11079MEDIUM5.5
  • AnsibleAnsible
  • ansible
NoYesNov 12, 2024
CVE-2024-8775MEDIUM5.5
  • AnsibleAnsible
  • ansible-core
NoYesSep 14, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management