Advisory

PYSEC-2026-1124

Also known as: CVE-2024-8775, GHSA-jpxc-vmjf-9fcj

Summary

Ansible vulnerable to Insertion of Sensitive Information into Log File

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

ansible-core

PyPI · All systems

Affected

  • introduced 0, fixed 2.16.13, introduced 2.17.0b1, fixed 2.17.6 (ecosystem)

Fixed versions

2.16.13, 2.17.6

Fix

  • Fixed version 2.16.13
    pip install --upgrade ansible-core==2.16.13
  • Fixed version 2.17.6
    pip install --upgrade ansible-core==2.17.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences