Skip to main content
No exploitation reportedFix available

CVE-2024-8775

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

No exploitation reported by the sources we read.

  • Published2024-09-14
  • Fixed in2.17.6 · 2.16.13
  • WeaknessCWE-532

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-09-1402:15CVE publishedCNA

Versions per branch

OSV
ansible-core
BranchAffectedFixed in
2.17≥ 2.17.0b1, < 2.17.62.17.6
2.16< 2.16.132.16.13

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA16 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

10 more products in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ansibleUbuntu:Pro:22.04:LTSall versions · no fixed version listed
  • ansibleUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • ansibleUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • ansibleUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • ansibleUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • ansibleUbuntu:26.10all versions · no fixed version listedand 1 other package
  • ansibleUbuntu:26.04:LTSall versions · no fixed version listedand 1 other package
  • ansibleUbuntu:25.10all versions · no fixed version listedand 1 other package

43 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2025:1249 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: updated discovery container images

  • RHSA-2024:10762 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

  • RHSA-2024:9894 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Release Update

  • RHSA-2024:8969 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform Execution Environments Container Release Update

Full record on NVD

Fix

  1. Update ansible-core to 2.17.6 · 2.16.13
  2. Vendor fix Red Hat Product Security RHSA-2025:1249 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2024:10762 · 12 productsRed Hat Ansible Automation Platform
  4. Vendor fix Red Hat Product Security RHSA-2024:8969 · 45 productsRed Hat Ansible Automation Platform Execution Environments
  5. Workaround from the vendor Red Hat Product Security RHSA-2025:1249 · 4 productsMitigation 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.

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
2024-09-14
Last Modified
2026-11-05
NVD status
Deferred
GitHub Advisory
GHSA-jpxc-vmjf-9fcj

Frequently asked questions

What is CVE-2024-8775?

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.

Is CVE-2024-8775 actively exploited?

Active exploitation of CVE-2024-8775 has not been confirmed. Its EPSS score was 0.3% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-8775?

CVE-2024-8775 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Running Red Hat Ansible Automation? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record