CVE-2024-8775: Molecule · Ansible vulnerable to Insertion of Sensitive Information into Log File
Affects moleculeSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium : upgrade to 24.9.0_2 when convenient.
Data as of 4 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 5.5 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 24.9.0_2, 2.17.6, 2.16.13
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade molecule to 24.9.0_2; ansible-core to 2.17.6; ansible-core to 2.16.13.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmoleculepkg:brew/moleculeOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Ansible version 24.9.0_2. Users should upgrade to this version to remediate the vulnerability. Until patched, users should ensure that the no_log: true parameter is set when loading vaulted variables with tasks like include_vars to prevent sensitive data from being logged or displayed. Follow the vendor advisory from Red Hat for detailed update instructions.
Description
A vulnerability in Ansible allows sensitive information stored in Ansible Vault files to be exposed in plaintext during playbook execution if the no_log: true parameter is not set when loading vaulted variables. This can lead to unintended disclosure of secrets such as passwords or API keys in logs or output. The issue affects versions from 5.0.1 up to but not including 24.9.0_2. A fix is available in version 24.9.0_2.
References
- nvd.nist.gov/vuln/detail/CVE-2024-8775 (opens in a new tab)
- github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:10762 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8969 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:9894 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:1249 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-8775 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2312119 (opens in a new tab)
- github.com/advisories/GHSA-jpxc-vmjf-9fcj (opens in a new tab)
- github.com/ansible/ansible (opens in a new tab)
- github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst (opens in a new tab)
- github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00021.html (opens in a new tab)