CVE-2021-20180Redhat Ansible
Medium 5.5
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 26
- Auth required
- Yes
- Published
- Mar 16, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ansible.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
≥ 2.8.0a1 < 2.8.19 |
2.8.19 |
pip install "ansible>=2.8.19" |
| PyPI | ansible |
≥ 2.9.0b1 < 2.9.18 |
2.9.18 |
pip install "ansible>=2.9.18" |
| PyPI | ansible |
≥ 2.8.0a1 < 2.8.19 |
2.8.19 |
pip install "ansible>=2.8.19" |
| PyPI | ansible |
≥ 2.9.0b1 < 2.9.18 |
2.9.18 |
pip install "ansible>=2.9.18" |
Per OSV / GitHub Advisories (GHSA-fh5v-5f35-2rv2, PYSEC-2026-618). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 2.9.18 |
Official advisories
- ansible-14-14.6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12447-1 · Nov 6, 2026 Critical
- ansible-13-13.7.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10944-1 · Jun 3, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory