CVE-2019-10156 json
Exposure of Sensitive Information to an Unauthorized Actor in ansible
published 2019-07-30 7 y ago modified 2026-06-17 4 mo ago also GHSA-grgm-pph5-j5h7 , PYSEC-2019-2 , EUVD-2019-0006
- cvss
- 4.6
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi ansible 2.6.18, 2.7.12, 2.8.2
- redhat ansible 2.6.18, 2.7.12, 2.8.2
- ansible Debian 14, Debian 13, Debian 12 2.8.3+dfsg-1
debian advisories DEBIAN-CVE-2019-10156
- ansible Ubuntu 18.04 LTS 2.5.1+dfsg-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2019-10156
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ansible openstack 14, openstack 13 2.6.19-1.el7ae
- ansible ansible engine 2.6 2.6.18-1.el7ae
- ansible ansible engine 2.7 2.7.12-1.el7ae
- ansible ansible engine 2.8, ansible engine 2 2.8.2-1.el7ae
- ansible ansible engine 2.8, ansible engine 2 2.8.2-1.el8ae
red hat advisories RHSA-2019:3789RHSA-2019:3744RHSA-2019:1707RHSA-2019:1705RHSA-2019:1706RHSA-2019:1708
- storm OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.2.3-3.6.1
- ansible OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 2.9.14-3.15.1
- grafana OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 6.7.4-4.12.1
- ardana-mq OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1593618123.678c32b-3.26.1
- ardana-nova OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1601298847.dd01585-3.42.1
- crowbar-core OpenStack Cloud Crowbar 8 5.0+git.1600432272.b3ad722f0-3.44.1
- python-kombu OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 4.1.0-3.7.1
- ardana-cinder OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1596129856.263f430-3.43.1
suse advisories SUSE-SU-2020:3309-1
- ansible-14 openSUSE Tumbleweed 14.6.0-1.1
- ansible-13 openSUSE Tumbleweed 13.7.0-1.1
- ansible-12 openSUSE Tumbleweed 12.2.0-1.1
- ansible-11 openSUSE Tumbleweed 11.11.0-1.1
- ansible-10 openSUSE Tumbleweed 10.6.0-1.1
- ansible-9 openSUSE Tumbleweed 9.8.0-1.1
- ansible Package Hub 15 SP3, openSUSE Leap 15.3 2.9.21-bp153.2.3.1
opensuse advisories openSUSE-SU-2026:12447-1openSUSE-SU-2026:10944-1openSUSE-SU-2025:15753-1openSUSE-SU-2025:15605-1openSUSE-SU-2024:14536-1openSUSE-SU-2024:14244-1
- ansible Alpine 3.12, Alpine 3.11, Alpine 3.10 2.8.2-r0
- ansible Alpine 3.8 2.6.18-r0
- ansible-base Alpine 3.15, Alpine 3.14, Alpine 3.13 2.8.2-r0
alpine advisories ALPINE-CVE-2019-10156
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/ansible/ansible@04e9427 commit
- github.com/ansible/ansible@3ff6505 commit
- github.com/ansible/ansible@a11c3ed commit
- github.com/ansible/ansible#57188 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-10156 updated cvss 4.6
ansible: unsafe template evaluation of returned module data can lead to information disclosure
-
Red Hat CloudForms Management Engine 5 ansibleaffected: no fix planned “Out of support scope”
-
Red Hat Ansible Tower 3 ansibleaffected: no fix available
-
Red Hat Ceph Storage 2 ansibleaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 3 ansibleaffected: no fix available
-
Red Hat Enterprise Linux 7 ansibleaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.2 ansible Red Hat OpenShift Container Platform 3.3 ansible Red Hat OpenShift Container Platform 3.4 ansible Red Hat OpenShift Container Platform 3.5 ansible Red Hat OpenShift Container Platform 3.6 ansible Red Hat OpenShift Container Platform 3.7 ansibleaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 10 (Newton) ansible Red Hat Storage 3 ansibleaffected: no fix planned “Will not fix”
-
Red Hat Ansible Engine 2 for RHEL 7 ansible 2.8.2-1.el7ae Red Hat Ansible Engine 2 for RHEL 8 ansible 2.8.2-1.el8aefixed: vendor fix RHSA-2019:1706
show 5 moreshow fewer
-
Red Hat Ansible Engine 2.6 for RHEL 7 Server ansible 2.6.18-1.el7aefixed: vendor fix RHSA-2019:1707
-
Red Hat Ansible Engine 2.7 for RHEL 7 Server ansible 2.7.12-1.el7aefixed: vendor fix RHSA-2019:1705
-
Red Hat Ansible Engine 2.8 for RHEL 7 Server ansible 2.8.2-1.el7ae Red Hat Ansible Engine 2.8 for RHEL 8 ansible 2.8.2-1.el8aefixed: vendor fix RHSA-2019:1708
-
Red Hat OpenStack Platform 13.0 ansible 2.6.19-1.el7aefixed: vendor fix RHSA-2019:3789
-
Red Hat OpenStack Platform 14.0 ansible 2.6.19-1.el7aefixed: vendor fix RHSA-2019:3744
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.6 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible | <2.6.18 >=2.7.0a1, <2.7.12 >=2.8.0a1, <2.8.2 >=2.7.0, <2.7.12 >=2.8.0, <2.8.2 |
2.6.18 2.7.12 2.8.2 |
Affected products
- Red Hat ansible
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/ansible/ansible/pull/57188
web, patch, third-party-advisory
-
github.com
/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922
web
-
github.com
/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375
web
-
github.com
/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a
web
-
access.redhat.com
/errata/RHSA-2019:3744
vendor-advisory, web, advisory
-
access.redhat.com
/errata/RHSA-2019:3789
vendor-advisory, web, advisory
-
debian.org
/security/2021/dsa-4950
vendor-advisory, web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-10156
web, issue-tracking, vendor-advisory, report
-
lists.debian.org
/debian-lts-announce/2019/09/msg00016.html
mailing-list, web, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2021/01/msg00023.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10156
advisory
-
github.com
/advisories/GHSA-grgm-pph5-j5h7
advisory
-
github.com
/ansible/ansible
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml
web
Sources
- CVE List CVE-2019-10156
- GitHub Advisory GHSA-grgm-pph5-j5h7
- NVD CVE-2019-10156
- OSV PYSEC-2019-2
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.