HighGHSA-cqmr-rcpr-cxh3CVE-2019-10206PYSEC-2019-145

Ansible password prompts could expose passwords

Published 24 May 2022 · Updated 25 Nov 2024

Is your project on an affected ansible?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=2.8.0 <2.8.4
Fixed in
2.8.4
Update to the fixed version for your release line, for example:pip install 'ansible>=2.8.4'
Affected
>=2.7.0 <2.7.13
Fixed in
2.7.13
Update to the fixed version for your release line, for example:pip install 'ansible>=2.7.13'
Affected
>=2.6.0 <2.6.19
Fixed in
2.6.19
Update to the fixed version for your release line, for example:pip install 'ansible>=2.6.19'

Details

ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.

Is GHSA-cqmr-rcpr-cxh3 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ansible, and gives you the command that fixes it.

More advisories for ansible

  • MediumCVE-2025-14010Ansible Community General Collection is vulnerable to exposure of sensitive information · 4 Dec 2025
  • MediumCVE-2020-25635Ansible does not collect garbage after playbook run · 31 Oct 2025
  • MediumCVE-2023-5115Ansible symlink attack vulnerability · 28 Dec 2023
  • HighCVE-2022-3697Ansible leaks password to logs · 28 Oct 2022
  • HighCVE-2021-20228Ansible Exposes Sensitive Information · 25 May 2022
  • CriticalCVE-2014-4678Ansible Code Injection Vulnerability · 24 May 2022
All 68 advisories for ansible

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.