PYSEC-2026-1124

Ansible vulnerable to Insertion of Sensitive Information into Log File

At a glance

Published
Updated
CVE
CVE-2024-8775
Aliases
GHSA-jpxc-vmjf-9fcj
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

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.

Affected packages

PackageVersions
PyPI · ansible-coreintroduced 0, fixed 2.16.13, introduced 2.17.0b1, fixed 2.17.6

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database