MEDIUM5.5
PYSEC-2026-618
Insertion of Sensitive Information into Log File in ansible
Quick fix
PYSEC-2026-618 — ansible: upgrade to the fixed version with the command below.
pip install --upgrade 'ansible>=2.8.19'Details
A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20180[ADVISORY]
- https://github.com/ansible/ansible/pull/73242[WEB]
- https://github.com/ansible/ansible/pull/73243[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1915808[WEB]
- https://github.com/ansible/ansible[PACKAGE]
- https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst[WEB]
- https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst[WEB]
- https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control[WEB]
- https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control[WEB]
- https://pypi.org/project/ansible[PACKAGE]
- https://github.com/advisories/GHSA-fh5v-5f35-2rv2[ADVISORY]