{"id":"CVE-2024-8775","published":"2024-09-14T02:15:14Z","modified":"2026-11-05T14:44:46Z","title":"Ansible-core: exposure of sensitive information in ansible vault files due to improper logging","vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","tier":"tail","description":{"text":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00271,"percentile":0.19775,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:10762","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8969","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:9894","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:1249","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-8775","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html","tags":[]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":3.96},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 1.0.0, <= 2.17.4"]},{"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","versions":["all versions"]},{"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","versions":["all versions"]},{"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","versions":["all versions"]},{"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","versions":["all versions"]},{"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","versions":["all versions"]},{"vendor":"Red Hat","product":"Discovery 1 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Discovery 1 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-16T14:21:23.423396Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ansible-core","vulnerableRanges":[">=2.17.0b1, <2.17.6","<2.16.13"],"patched":["2.17.6","2.16.13"],"from":["GHSA-jpxc-vmjf-9fcj","PYSEC-2026-1124"],"provenance":"source"}],"summary":{"text":"Ansible-core, as shipped in Red Hat's Ansible Automation Platform Execution Environments, can print sensitive values from Ansible Vault files in plaintext during playbook runs when tasks such as include_vars load vaulted variables without no_log: true set. An attacker with local access and low privileges, who can read the playbook output or logs, can obtain exposed secrets such as passwords or API keys, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:41Z"},"euvd":{"id":"EUVD-2024-2826","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-5764","published":"2023-12-12","fixed":"2.16.1","kev":false},{"cve":"CVE-2024-0690","published":"2024-02-06","fixed":"2.16.3","kev":false},{"cve":"CVE-2024-8775","published":"2024-09-14","fixed":"2.17.6","kev":false},{"cve":"CVE-2024-9902","published":"2024-11-06","fixed":"2.18.0rc2","kev":false},{"cve":"CVE-2024-11079","published":"2024-11-11","fixed":"2.18.1rc1","kev":false,"link":{"from":"CVE-2024-8775","to":"CVE-2024-11079","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible-core","fromFixed":"2.17.6","toFixed":"2.17.7rc1","daysApart":58}]}},{"cve":"CVE-2026-11332","published":"2026-06-05","fixed":"2.21.1rc1","kev":false}],"package":"PyPI:ansible-core"}}