Public vulnerability disclosure

CVE-2024-8775

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

publishedCWE-532

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.

Technical severity5.5 mediumCVSS 3.1 · CNA: redhat
Published2024-09-14Source updated 2026-11-05
Collected2026-11-053 attributed sources

Fixes and workarounds

Workaround

Mitigation 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.

Source: CNA: redhat

Fix

ansible-core (PyPI): OSV reports a fixed version 2.17.6. Check the advisory for supported release branches.

Source: OSV GHSA-jpxc-vmjf-9fcj

Fix

ansible-core (PyPI): OSV reports a fixed version 2.16.13. Check the advisory for supported release branches.

Source: OSV GHSA-jpxc-vmjf-9fcj

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


ansible-core
https://github.com/ansible/ansible
≥ 1.0.0; ≤ 2.17.4 (affected, semver)
Other versions: unaffected
CNA: redhat
Ansible Automation Platform Execution Environments
Red Hat
ansible-automation-platform/ansible-builder-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.2.0-91; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Ansible Automation Platform Execution Environments
Red Hat
ansible-automation-platform/ansible-builder-rhel9
https://catalog.redhat.com/software/containers/
≥ 3.0.1-95; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Ansible Automation Platform Execution Environments
Red Hat
ansible-automation-platform/ee-29-rhel8
https://catalog.redhat.com/software/containers/
≥ 2.9.27-32; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Ansible Automation Platform Execution Environments
Red Hat
ansible-automation-platform/ee-minimal-rhel8
https://catalog.redhat.com/software/containers/
≥ 2.12.10-54; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Ansible Automation Platform Execution Environments
Red Hat
ansible-automation-platform/ee-minimal-rhel9
https://catalog.redhat.com/software/containers/
≥ 2.15.12-17; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Discovery 1 for RHEL 9
Red Hat
discovery/discovery-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.12.0-1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Discovery 1 for RHEL 9
Red Hat
discovery/discovery-ui-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.12.0-1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2.4 for RHEL 8
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
≥ 1:2.15.13-1.el8ap; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2.4 for RHEL 9
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
≥ 1:2.15.13-1.el9ap; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2.5 for RHEL 8
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
≥ 1:2.16.13-1.el8ap; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2.5 for RHEL 9
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
≥ 1:2.16.13-1.el9ap; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux AI (RHEL AI)
Red Hat
rhelai1/bootc-nvidia-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
ansible-core

ansible-core
PyPI
2.17.0 (affected, PyPI)
2.17.0b1 (affected, PyPI)
2.17.0rc1 (affected, PyPI)
2.17.0rc2 (affected, PyPI)
2.17.1 (affected, PyPI)
2.17.1rc1 (affected, PyPI)
2.17.2 (affected, PyPI)
2.17.2rc1 (affected, PyPI)
2.17.2rc2 (affected, PyPI)
2.17.3 (affected, PyPI)
2.17.3rc1 (affected, PyPI)
2.17.4 (affected, PyPI)
2.17.4rc1 (affected, PyPI)
2.17.5 (affected, PyPI)
2.17.5rc1 (affected, PyPI)
2.17.6rc1 (affected, PyPI)
Ecosystem version events: introduced 2.17.0b1; fixed 2.17.6
Source events (ECOSYSTEM)
[
  {
    "introduced": "2.17.0b1"
  },
  {
    "fixed": "2.17.6"
  }
]

Other versions: unaffected
OSV GHSA-jpxc-vmjf-9fcj
ansible-core

ansible-core
PyPI
0.0.1a1 (affected, PyPI)
2.11.0 (affected, PyPI)
2.11.0b1 (affected, PyPI)
2.11.0b2 (affected, PyPI)
2.11.0b3 (affected, PyPI)
2.11.0b4 (affected, PyPI)
2.11.0rc1 (affected, PyPI)
2.11.0rc2 (affected, PyPI)
2.11.1 (affected, PyPI)
2.11.10 (affected, PyPI)
2.11.10rc1 (affected, PyPI)
2.11.11 (affected, PyPI)
2.11.11rc1 (affected, PyPI)
2.11.12 (affected, PyPI)
2.11.12rc1 (affected, PyPI)
2.11.1rc1 (affected, PyPI)
2.11.2 (affected, PyPI)
2.11.2rc1 (affected, PyPI)
2.11.3 (affected, PyPI)
2.11.3rc1 (affected, PyPI)
2.11.4 (affected, PyPI)
2.11.4rc1 (affected, PyPI)
2.11.5 (affected, PyPI)
2.11.5rc1 (affected, PyPI)
2.11.6 (affected, PyPI)
2.11.6rc1 (affected, PyPI)
2.11.7 (affected, PyPI)
2.11.7rc1 (affected, PyPI)
2.11.8 (affected, PyPI)
2.11.8rc1 (affected, PyPI)
2.11.9 (affected, PyPI)
2.11.9rc1 (affected, PyPI)
2.12.0 (affected, PyPI)
2.12.0b1 (affected, PyPI)
2.12.0b2 (affected, PyPI)
2.12.0rc1 (affected, PyPI)
2.12.1 (affected, PyPI)
2.12.10 (affected, PyPI)
2.12.10rc1 (affected, PyPI)
2.12.1rc1 (affected, PyPI)
2.12.2 (affected, PyPI)
2.12.2rc1 (affected, PyPI)
2.12.3 (affected, PyPI)
2.12.3rc1 (affected, PyPI)
2.12.4 (affected, PyPI)
2.12.4rc1 (affected, PyPI)
2.12.5 (affected, PyPI)
2.12.5rc1 (affected, PyPI)
2.12.6 (affected, PyPI)
2.12.6rc1 (affected, PyPI)
2.12.7 (affected, PyPI)
2.12.7rc1 (affected, PyPI)
2.12.8 (affected, PyPI)
2.12.8rc1 (affected, PyPI)
2.12.9 (affected, PyPI)
2.12.9rc1 (affected, PyPI)
2.13.0 (affected, PyPI)
2.13.0b0 (affected, PyPI)
2.13.0b1 (affected, PyPI)
2.13.0rc1 (affected, PyPI)
2.13.1 (affected, PyPI)
2.13.10 (affected, PyPI)
2.13.10rc1 (affected, PyPI)
2.13.11 (affected, PyPI)
2.13.11rc1 (affected, PyPI)
2.13.12 (affected, PyPI)
2.13.12rc1 (affected, PyPI)
2.13.13 (affected, PyPI)
2.13.13rc1 (affected, PyPI)
2.13.1rc1 (affected, PyPI)
2.13.2 (affected, PyPI)
2.13.2rc1 (affected, PyPI)
2.13.3 (affected, PyPI)
2.13.3rc1 (affected, PyPI)
2.13.4 (affected, PyPI)
2.13.4rc1 (affected, PyPI)
2.13.5 (affected, PyPI)
2.13.5rc1 (affected, PyPI)
2.13.6 (affected, PyPI)
2.13.6rc1 (affected, PyPI)
2.13.7 (affected, PyPI)
2.13.7rc1 (affected, PyPI)
2.13.8 (affected, PyPI)
2.13.8rc1 (affected, PyPI)
2.13.9 (affected, PyPI)
2.13.9rc1 (affected, PyPI)
2.14.0 (affected, PyPI)
2.14.0b1 (affected, PyPI)
2.14.0b2 (affected, PyPI)
2.14.0b3 (affected, PyPI)
2.14.0rc1 (affected, PyPI)
2.14.0rc1.post0 (affected, PyPI)
2.14.0rc2 (affected, PyPI)
2.14.1 (affected, PyPI)
2.14.10 (affected, PyPI)
2.14.10rc1 (affected, PyPI)
2.14.11 (affected, PyPI)
2.14.11rc1 (affected, PyPI)
2.14.12 (affected, PyPI)
2.14.12rc1 (affected, PyPI)
2.14.13 (affected, PyPI)
2.14.14 (affected, PyPI)
2.14.14rc1 (affected, PyPI)
2.14.15 (affected, PyPI)
2.14.15rc1 (affected, PyPI)
2.14.16 (affected, PyPI)
2.14.16rc1 (affected, PyPI)
2.14.17 (affected, PyPI)
2.14.17rc1 (affected, PyPI)
2.14.18 (affected, PyPI)
2.14.18rc1 (affected, PyPI)
2.14.1rc1 (affected, PyPI)
2.14.2 (affected, PyPI)
2.14.2rc1 (affected, PyPI)
2.14.3 (affected, PyPI)
2.14.3rc1 (affected, PyPI)
2.14.4 (affected, PyPI)
2.14.4rc1 (affected, PyPI)
2.14.5 (affected, PyPI)
2.14.5rc1 (affected, PyPI)
2.14.6 (affected, PyPI)
2.14.6rc1 (affected, PyPI)
2.14.7 (affected, PyPI)
2.14.7rc1 (affected, PyPI)
2.14.8 (affected, PyPI)
2.14.8rc1 (affected, PyPI)
2.14.9 (affected, PyPI)
2.14.9rc1 (affected, PyPI)
2.15.0 (affected, PyPI)
2.15.0b1 (affected, PyPI)
2.15.0b2 (affected, PyPI)
2.15.0b3 (affected, PyPI)
2.15.0rc1 (affected, PyPI)
2.15.0rc2 (affected, PyPI)
2.15.1 (affected, PyPI)
2.15.10 (affected, PyPI)
2.15.10rc1 (affected, PyPI)
2.15.11 (affected, PyPI)
2.15.11rc1 (affected, PyPI)
2.15.12 (affected, PyPI)
2.15.12rc1 (affected, PyPI)
2.15.13 (affected, PyPI)
2.15.13rc1 (affected, PyPI)
2.15.1rc1 (affected, PyPI)
2.15.2 (affected, PyPI)
2.15.2rc1 (affected, PyPI)
2.15.3 (affected, PyPI)
2.15.3rc1 (affected, PyPI)
2.15.4 (affected, PyPI)
2.15.4rc1 (affected, PyPI)
2.15.5 (affected, PyPI)
2.15.5rc1 (affected, PyPI)
2.15.6 (affected, PyPI)
2.15.6rc1 (affected, PyPI)
2.15.7 (affected, PyPI)
2.15.7rc1 (affected, PyPI)
2.15.8 (affected, PyPI)
2.15.9 (affected, PyPI)
2.15.9rc1 (affected, PyPI)
2.16.0 (affected, PyPI)
2.16.0b1 (affected, PyPI)
2.16.0b2 (affected, PyPI)
2.16.0rc1 (affected, PyPI)
2.16.1 (affected, PyPI)
2.16.10 (affected, PyPI)
2.16.10rc1 (affected, PyPI)
2.16.11 (affected, PyPI)
2.16.11rc1 (affected, PyPI)
2.16.12 (affected, PyPI)
2.16.12rc1 (affected, PyPI)
2.16.13rc1 (affected, PyPI)
2.16.1rc1 (affected, PyPI)
2.16.2 (affected, PyPI)
2.16.3 (affected, PyPI)
2.16.3rc1 (affected, PyPI)
2.16.4 (affected, PyPI)
2.16.4rc1 (affected, PyPI)
2.16.5 (affected, PyPI)
2.16.5rc1 (affected, PyPI)
2.16.6 (affected, PyPI)
2.16.7 (affected, PyPI)
2.16.7rc1 (affected, PyPI)
2.16.8 (affected, PyPI)
2.16.8rc1 (affected, PyPI)
2.16.9 (affected, PyPI)
2.16.9rc1 (affected, PyPI)
Ecosystem version events: introduced 0; fixed 2.16.13
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "2.16.13"
  }
]

Other versions: unaffected
OSV GHSA-jpxc-vmjf-9fcj

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 5.5
medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide