Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-8775
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:33 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 14 Sept 2024, 02:15 UTC

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.

osv:CVE-2024-8775
Complete source record
{
  "id": "5dab20adcc22168301ce0f09ab0183e2550819ece5d1b97b53e2c0be06ae5a32",
  "url": "https://osv.dev/vulnerability/CVE-2024-8775",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Ansible-core: exposure of sensitive information in ansible vault files due to improper logging",
    "summary": "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.",
    "evidence": "osv:CVE-2024-8775",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-8775",
      "aliases": [
        "CVE-2024-8775",
        "GHSA-jpxc-vmjf-9fcj",
        "PYSEC-2026-1124"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ansible/ansible",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "9e5294563d0d112f3a396ef60d37d274caae28b7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "last_affected": "2.17.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.17.4",
            "v2.17.4rc1",
            "v2.17.3",
            "v2.17.3rc1",
            "v2.17.2",
            "v2.17.2rc2",
            "v2.17.2rc1",
            "v2.17.1",
            "v2.17.1rc1",
            "v2.17.0",
            "v2.17.0rc2",
            "v2.17.0rc1",
            "v2.17.0b1",
            "stable-2.11-branchpoint",
            "v2.11.0b4",
            "v2.11.0b3",
            "v2.11.0b2",
            "v2.11.0b1",
            "stable-2.10-branchpoint",
            "pre-ansible-base",
            "stable-2.9-branchpoint",
            "v2.8.0a1",
            "v2.7.0.a1",
            "v2.6.0a1",
            "v2.0.0-0.5.beta3",
            "v2.0.0-0.4.beta2",
            "v2.0.0-0.3.beta1",
            "v2.0.0-0.2.alpha2",
            "v2.0.0-0.1.alpha1",
            "v1.6.0",
            "v1.4.0",
            "v1.2",
            "v1.1",
            "v1.0",
            "0.7",
            "0.3",
            "0.0.1",
            "0.01"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8775.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.536550092Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://catalog.redhat.com/software/containers/",
        "https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html",
        "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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8775.json",
        "https://github.com/advisories/GHSA-jpxc-vmjf-9fcj",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-8775",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2312119",
        "https://github.com/ansible/ansible"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-532"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.2.0-91"
                  },
                  {
                    "fixed": "3.0.1-95"
                  },
                  {
                    "fixed": "2.9.27-32"
                  },
                  {
                    "fixed": "2.12.10-54"
                  },
                  {
                    "fixed": "2.15.12-17"
                  },
                  {
                    "fixed": "1.12.0-1"
                  },
                  {
                    "fixed": "1.12.0-1"
                  },
                  {
                    "fixed": "1:2.15.13-1.el8ap"
                  },
                  {
                    "fixed": "1:2.15.13-1.el9ap"
                  },
                  {
                    "fixed": "1:2.16.13-1.el8ap"
                  },
                  {
                    "fixed": "1:2.16.13-1.el9ap"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8775.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-8775",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508012,
  "published_at": "2024-09-14T02:15:14.907+00:00"
}