CVE-2019-10156Redhat Ansible
Medium 5.4
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- Yes
- Published
- Jul 30, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.
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.6.18 |
2.6.18 |
pip install "ansible>=2.6.18" |
| PyPI | ansible |
≥ 2.7.0a1 < 2.7.12 |
2.7.12 |
pip install "ansible>=2.7.12" |
| PyPI | ansible |
≥ 2.8.0a1 < 2.8.2 |
2.8.2 |
pip install "ansible>=2.8.2" |
| PyPI | ansible |
< 2.6.18 |
2.6.18 |
pip install "ansible>=2.6.18" |
| PyPI | ansible |
≥ 2.7.0 < 2.7.12 |
2.7.12 |
pip install "ansible>=2.7.12" |
| PyPI | ansible |
≥ 2.8.0 < 2.8.2 |
2.8.2 |
pip install "ansible>=2.8.2" |
Per OSV / GitHub Advisories (GHSA-grgm-pph5-j5h7, PYSEC-2019-2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 2.6.18 |
| redhat | ansible | ≥ 2.7.0 < 2.7.12 |
| redhat | ansible | ≥ 2.8.0 < 2.8.2 |
| redhat | openstack | 13 |
| redhat | openstack | 14 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
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.
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory