{"id":"CVE-2024-8775","aliases":["CVE-2024-8775","GHSA-jpxc-vmjf-9fcj","PYSEC-2026-1124"],"related":[],"kind":"vulnerability","state":"published","title":"Ansible-core: exposure of sensitive information in ansible vault files due to improper logging","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en Ansible, donde la información confidencial almacenada en archivos de Ansible Vault puede quedar expuesta en texto plano durante la ejecución de un playbook. Esto ocurre cuando se usan tareas como include_vars para cargar variables almacenadas sin configurar el parámetro no_log: true, lo que da como resultado que se impriman datos confidenciales en la salida o los registros del playbook. Esto puede provocar la divulgación involuntaria de secretos como contraseñas o claves API, lo que compromete la seguridad y potencialmente permite el acceso o las acciones no autorizadas.","source":"nvd"}],"published":"2024-09-14T02:15:14.907Z","modified":"2026-11-24T07:17:11.400Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.0","lastAffected":"2.17.4","status":"affected"}],"package":"ansible-core","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.2.0-91","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","package":"ansible-automation-platform/ansible-builder-rhel8","cpe":"cpe:/a:redhat:ansible_core:2::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"3.0.1-95","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","package":"ansible-automation-platform/ansible-builder-rhel9","cpe":"cpe:/a:redhat:ansible_core:2::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2.9.27-32","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","package":"ansible-automation-platform/ee-29-rhel8","cpe":"cpe:/a:redhat:ansible_core:2::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2.12.10-54","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","package":"ansible-automation-platform/ee-minimal-rhel8","cpe":"cpe:/a:redhat:ansible_core:2::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2.15.12-17","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Ansible Automation Platform Execution Environments","package":"ansible-automation-platform/ee-minimal-rhel9","cpe":"cpe:/a:redhat:ansible_core:2::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.12.0-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Discovery 1 for RHEL 9","package":"discovery/discovery-server-rhel9","cpe":"cpe:/o:redhat:discovery:1.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.12.0-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Discovery 1 for RHEL 9","package":"discovery/discovery-ui-rhel9","cpe":"cpe:/o:redhat:discovery:1.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.15.13-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.15.13-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.15.13-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.15.13-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.15.13-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.15.13-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.16.13-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.16.13-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.16.13-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.16.13-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.16.13-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.16.13-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","package":"ansible-core","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"ansible-core","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"ansible-core","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"ansible-core","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI)","package":"rhelai1/bootc-nvidia-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:1","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.17.0b1","status":"affected","fixed":"2.17.6"}],"ecosystem":"PyPI","package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.16.13"}],"ecosystem":"PyPI","package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.16.13"},{"type":"ecosystem","introduced":"2.17.0b1","status":"affected","fixed":"2.17.6"}],"ecosystem":"PyPI","package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"pysec"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:10762","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8969","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/errata/RHSA-2024:9894","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/errata/RHSA-2025:1249","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-8775","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj","tags":["advisory"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/ansible-core","tags":["package"],"sources":["pysec"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-16T14:21:23.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8775","url":"https://www.cve.org/CVERecord?id=CVE-2024-8775","licence":"CVE Terms of Use","modified":"2026-11-24T06:22:40.356Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jpxc-vmjf-9fcj","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:28.974Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8775","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775","licence":"Public domain","modified":"2026-11-24T07:17:11.400Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1124","url":"https://osv.dev/vulnerability/PYSEC-2026-1124","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:19.518Z"}],"updatedAt":"2026-11-25T22:58:45.431Z","epss":{"score":0.00271,"percentile":0.20653,"date":"2026-12-02T12:00:21.000Z"}}