# CVE-2024-8775: Ansible-core: exposure of sensitive information in ansible vault files due to improper logging

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2024-09-14T02:15:14.907Z
- Modified: 2026-11-24T07:17:11.400Z
- Also known as: GHSA-jpxc-vmjf-9fcj, PYSEC-2026-1124
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- ansible-core: from 1.0.0 up to 2.17.4 (not affected: from 1:2.15.13-1.el8ap before *; from 1:2.15.13-1.el9ap before *; from 1:2.16.13-1.el8ap before *; from 1:2.16.13-1.el9ap before *)
- ansible-automation-platform/ansible-builder-rhel8: no versions given (not affected: from 1.2.0-91 before *)
- ansible-automation-platform/ansible-builder-rhel9: no versions given (not affected: from 3.0.1-95 before *)
- ansible-automation-platform/ee-29-rhel8: no versions given (not affected: from 2.9.27-32 before *)
- ansible-automation-platform/ee-minimal-rhel8: no versions given (not affected: from 2.12.10-54 before *)
- ansible-automation-platform/ee-minimal-rhel9: no versions given (not affected: from 2.15.12-17 before *)
- discovery/discovery-server-rhel9: no versions given (not affected: from 1.12.0-1 before *)
- discovery/discovery-ui-rhel9: no versions given (not affected: from 1.12.0-1 before *)
- rhelai1/bootc-nvidia-rhel9: no versions given
- ansible-core (PyPI): from 2.17.0b1 before 2.17.6; before 2.16.13

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://access.redhat.com/errata/RHSA-2024:10762> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8969> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:9894> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:1249> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-8775> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2312119> (issue-tracking, web)
- <https://github.com/advisories/GHSA-jpxc-vmjf-9fcj> (advisory)
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8775> (advisory)
- <https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035> (web)
- <https://github.com/ansible/ansible> (package)
- <https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes> (web)
- <https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes> (web)
- <https://pypi.org/project/ansible-core> (package)

## Sources

- CVE List: [CVE-2024-8775](https://www.cve.org/CVERecord?id=CVE-2024-8775), CVE Terms of Use, modified 2026-11-24
- GitHub Advisory Database: [GHSA-jpxc-vmjf-9fcj](https://github.com/advisories/GHSA-jpxc-vmjf-9fcj), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-8775](https://nvd.nist.gov/vuln/detail/CVE-2024-8775), Public domain, modified 2026-11-24
- PyPA Advisory Database: [PYSEC-2026-1124](https://osv.dev/vulnerability/PYSEC-2026-1124), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-8775 · Whole record: https://cve.day/CVE-2024-8775.json · Rebuilt by cve.day 2026-11-25T22:58:45.431Z
