Ansible vulnerable to Insertion of Sensitive Information into Log File
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | ansible-core | >= 2.17.0b1, < 2.17.6, < 2.16.13 | 2.17.6, 2.16.13 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8775
- https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035
- https://access.redhat.com/errata/RHSA-2024:10762
- https://access.redhat.com/errata/RHSA-2024:8969
- https://access.redhat.com/errata/RHSA-2024:9894
- https://access.redhat.com/errata/RHSA-2025:1249
- https://access.redhat.com/security/cve/CVE-2024-8775
- https://bugzilla.redhat.com/show_bug.cgi?id=2312119
- https://github.com/advisories/GHSA-jpxc-vmjf-9fcj
- https://github.com/ansible/ansible
- https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes
- https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html
- https://pypi.org/project/ansible-core
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-532- Platform
- Python (PyPI)
- Package
ansible-core- Disclosed
- 16.09.2024
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1124 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jpxc-vmjf-9fcj - CC BY 4.0
Vulnerability history: ansible-core
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 10.2023 06.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 4
- Low 1
Disclosures per year
- 2023: 2
- 2024: 4
- 2025: 0
- 2026: 1
-
Ansible vulnerable to Insertion of Sensitive Information into Log File this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.