CVE-2018-10875
published high CVSS 3.0 · 7.8ansible: ansible.cfg is being read from current working directory allowing possible code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | — | ansiblen/a | Affected | Not stated | redhat |
| Alpine Linux | v3.10 | ansible | Fixed | 2.6.3-r0 | Package fix record |
| Debian | jessie | ansible | Advisory build | 1.7.2+dfsg-2+deb8u2 | DLA-1923-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | ansiblenoarch | Advisory build | 2.7.8-bp150.3.6.1 | OPENSUSE-SU-2019:1125-1 |
| Ubuntu | bionic | ansible | Advisory build | 2.5.1+dfsg-1ubuntu0.1 | USN-4072-1 |
| Alpine Linux | v3.11 | ansible | Fixed | 2.6.3-r0 | Package fix record |
| Alpine Linux | v3.12 | ansible | Fixed | 2.6.3-r0 | Package fix record |
| Alpine Linux | v3.9 | ansible | Fixed | 2.6.3-r0 | Package fix record |
Show 46 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | stretch | ansible | Advisory build | 2.2.1.0-2+deb9u1 | DSA-4396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansiblenoarch | Advisory build | 2.9.21-bp153.2.3.1 | OPENSUSE-SU-2022:0081-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibleaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibleppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibles390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansiblex86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| Ubuntu | xenial | ansible | Advisory build | 2.0.0.2-2ubuntu1.3 | USN-4072-1 |
| Alpine Linux | v3.13 | ansible-base | Fixed | 2.6.3-r0 | Package fix record |
| Alpine Linux | v3.14 | ansible-base | Fixed | 2.6.3-r0 | Package fix record |
| Alpine Linux | v3.15 | ansible-base | Fixed | 2.6.3-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansible-docnoarch | Advisory build | 2.9.21-bp153.2.3.1 | OPENSUSE-SU-2022:0081-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansible-testnoarch | Advisory build | 2.9.21-bp153.2.3.1 | OPENSUSE-SU-2022:0081-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10aarch64 | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10ppc64le | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10s390x | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10x86_64 | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11aarch64 | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11ppc64le | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11s390x | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11x86_64 | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12aarch64 | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12ppc64le | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12s390x | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12x86_64 | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13aarch64 | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13ppc64le | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13s390x | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13x86_64 | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14aarch64 | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14ppc64le | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14s390x | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14x86_64 | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9aarch64 | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9ppc64le | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9s390x | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9x86_64 | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docs390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docx86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-tests390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testx86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| Ubuntu | xenial | ansible-fireball | Advisory build | 2.0.0.2-2ubuntu1.3 | USN-4072-1 |
| Ubuntu | xenial | ansible-node-fireball | Advisory build | 2.0.0.2-2ubuntu1.3 | USN-4072-1 |
Description
A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| [UNKNOWN] | ansible | n/a (affected) | redhat · cna |
Weaknesses
1- CWE-426
References
14- openSUSE-SU-2019:1125 http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html
- 1041396 http://www.securitytracker.com/id/1041396
- RHBA-2018:3788 https://access.redhat.com/errata/RHBA-2018:3788
- RHSA-2018:2150 https://access.redhat.com/errata/RHSA-2018:2150
- RHSA-2018:2151 https://access.redhat.com/errata/RHSA-2018:2151
- RHSA-2018:2152 https://access.redhat.com/errata/RHSA-2018:2152
- RHSA-2018:2166 https://access.redhat.com/errata/RHSA-2018:2166
- RHSA-2018:2321 https://access.redhat.com/errata/RHSA-2018:2321
- RHSA-2018:2585 https://access.redhat.com/errata/RHSA-2018:2585
- RHSA-2019:0054 https://access.redhat.com/errata/RHSA-2019:0054
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875
- [debian-lts-announce] 20190916 [SECURITY] [DLA 1923-1] ansible security update https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html
- USN-4072-1 https://usn.ubuntu.com/4072-1/
- DSA-4396 https://www.debian.org/security/2019/dsa-4396
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 58ef1b8e72895fb444fbeaa07049402899ebf1d7bbab559e424bb554097fceba
- Ingested
- 23 Sep 2026, 07:43:23 UTC
- Source record
- Official CVE record