Live threats

All CVEs / Redhat

CVE-2019-10156Redhat Ansible

Medium 5.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatansible< 2.6.18
redhatansible≥ 2.7.0 < 2.7.12
redhatansible≥ 2.8.0 < 2.8.2
redhatopenstack13
redhatopenstack14
debiandebian_linux8.0
debiandebian_linux9.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.