A flaw was found in ansible.
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.
- BDU:2019-00506
- GHSA-fc4h-467w-46rh
- DLA-1923-1
- DSA-4396-1
- openSUSE-SU-2019:0238-1
- openSUSE-SU-2019:1125-1
- openSUSE-SU-2022:0081-1
- openSUSE-SU-2024:14244-1
- openSUSE-SU-2024:14536-1
- openSUSE-SU-2025:15605-1
- openSUSE-SU-2025:15753-1
- openSUSE-SU-2026:10944-1
- PYSEC-2018-43
- RHBA-2018:3788
- RHSA-2018:2150
- RHSA-2018:2151
- RHSA-2018:2152
- RHSA-2018:2166
- RHSA-2018:2321
- RHSA-2018:2585
- Published
- Jul 13, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.6% · 46th percentile
- CWE
- CWE-426
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 7.8
- agree
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| redhat | ansible engine | cpe:2.3:a:redhat:ansible_engine |
| redhat | ceph storage | cpe:2.3:a:redhat:ceph_storage |
| redhat | gluster storage | cpe:2.3:a:redhat:gluster_storage |
| redhat | openshift | cpe:2.3:a:redhat:openshift |
| redhat | openstack | cpe:2.3:a:redhat:openstack |
| redhat | virtualization | cpe:2.3:a:redhat:virtualization |
| redhat | virtualization host | cpe:2.3:a:redhat:virtualization_host |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| suse | package hub | cpe:2.3:a:suse:package_hub |
| suse | suse linux enterprise server | cpe:2.3:o:suse:suse_linux_enterprise_server |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.04
- debian debian linux8.0
- debian debian linux9.0
- redhat ansible engine2.0
- redhat ansible engine2.4
- redhat ansible engine2.5
- redhat ansible engine2.6
- redhat ceph storage2.0
- redhat ceph storage3.0
- redhat gluster storage3.0.0
- redhat openshift3.0
- redhat openstack10
- redhat openstack12
- redhat openstack13
- redhat virtualization4.0
- redhat virtualization host4.0
- suse package huball versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
[UNKNOWN] ansible
- n/aaffected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | ansible | before 2.6.3-r0 | 2.6.3-r0 |
| Alpine:v3.13 | ansible-base | before 2.6.3-r0 | 2.6.3-r0 |
| Debian:12 | ansible | before 2.6.1+dfsg-1 | 2.6.1+dfsg-1 |
| Debian:8 | ansible | before 1.7.2+dfsg-2+deb8u2 | 1.7.2+dfsg-2+deb8u2 |
| Debian:9 | ansible | before 2.2.1.0-2+deb9u1 | 2.2.1.0-2+deb9u1 |
| openSUSE:Tumbleweed | ansible-10 | before 10.6.0-1.1 | 10.6.0-1.1 |
| openSUSE:Tumbleweed | ansible-11 | before 11.11.0-1.1 | 11.11.0-1.1 |
| openSUSE:Tumbleweed | ansible-12 | before 12.2.0-1.1 | 12.2.0-1.1 |
| openSUSE:Tumbleweed | ansible-13 | before 13.7.0-1.1 | 13.7.0-1.1 |
| openSUSE:Tumbleweed | ansible-9 | before 9.8.0-1.1 | 9.8.0-1.1 |
| PyPI | ansible | from 2.4 · before 2.4.6.0 | 2.4.6.0 |
| PyPI | ansible | from 2.5 · before 2.5.6 | 2.5.6 |
| PyPI | ansible | from 2.5.0a1 · before 2.5.6 | 2.5.6 |
| PyPI | ansible | from 2.6 · before 2.6.1 | 2.6.1 |
| PyPI | ansible | from 2.6.0a1 · before 2.6.1 | 2.6.1 |
| PyPI | ansible | before 2.4.6.0 | 2.4.6.0 |
| Red Hat:ansible_engine:2::el7 | ansible | before 0:2.6.1-1.el7ae | 0:2.6.1-1.el7ae |
| Red Hat:ansible_engine:2.4::el7 | ansible-doc | before 0:2.4.6.0-1.el7ae | 0:2.4.6.0-1.el7ae |
| Red Hat:ansible_engine:2.5::el7 | ansible | before 0:2.5.6-1.el7ae | 0:2.5.6-1.el7ae |
| Red Hat:ansible_engine:2.5::el7 | ansible-doc | before 0:2.5.6-1.el7ae | 0:2.5.6-1.el7ae |
| Red Hat:enterprise_linux:7::hypervisor | imgbased | before 0:1.0.22-1.el7ev | 0:1.0.22-1.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | python-imgbased | before 0:1.0.22-1.el7ev | 0:1.0.22-1.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | redhat-release-virtualization-host | before 0:4.2-5.0.el7 | 0:4.2-5.0.el7 |
| Red Hat:enterprise_linux:7::hypervisor | redhat-virtualization-host | before 0:4.2-20180724.0.el7_5 | 0:4.2-20180724.0.el7_5 |
+80
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-20228A flaw was found in the Ansible Engine 2.9.18, where sensitive info is not masked by default and is not protected by the no_log feature when31Monitor
- CVE-2020-1737A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip mo31Monitor
- CVE-2019-14846In Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG 31Monitor
- CVE-2018-16837Ansible "User" module leaks any data which is passed on as a parameter to ssh-keygen.31Monitor
- CVE-2018-10874In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attac31Monitor
- CVE-2020-1734A flaw was found in the pipe lookup plugin of ansible.29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:ansible | 2.6.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| alpine:ansible-base | 2.6.3-r0 · Alpine:v3.13 | Package registry (OSV) |
| debian:ansible | 2.6.1+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:ansible | 2.7.8-bp150.3.6.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:ansible-10 | 10.6.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ansible-11 | 11.11.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ansible-12 | 12.2.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ansible-13 | 13.7.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ansible-9 | 9.8.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| PyPI:ansible | 2.4.6.0 | Package registry (OSV) |
| PyPI:ansible | 2.5.6 | Package registry (OSV) |
| PyPI:ansible | 2.6.1 | Package registry (OSV) |
| red hat:ansible | 0:2.4.6.0-1.el7ae · Red Hat:openstack:12::el7 | Package registry (OSV) |
| red hat:ansible-doc | 0:2.5.6-1.el7ae · Red Hat:ansible_engine:2.5::el7 | Package registry (OSV) |
| red hat:ansible-role-redhat-subscription | 0:1.0.1-4.el7ost · Red Hat:openstack:12::el7 | Package registry (OSV) |
| red hat:imgbased | 0:1.0.22-1.el7ev · Red Hat:enterprise_linux:7::hypervisor | Package registry (OSV) |
| red hat:python-imgbased | 0:1.0.22-1.el7ev · Red Hat:enterprise_linux:7::hypervisor | Package registry (OSV) |
| red hat:redhat-release-virtualization-host | 0:4.2-5.0.el7 · Red Hat:enterprise_linux:7::hypervisor | Package registry (OSV) |
| red hat:redhat-virtualization-host | 0:4.2-20180724.0.el7_5 · Red Hat:enterprise_linux:7::hypervisor | Package registry (OSV) |
| red hat:redhat-virtualization-host-image-update | 0:4.2-20180724.0.el7_5 · Red Hat:enterprise_linux:7::hypervisor | Package registry (OSV) |
| red hat:redhat-virtualization-host-image-update-placeholder | 0:4.2-5.0.el7 · Red Hat:enterprise_linux:7::hypervisor | Package registry (OSV) |
| suse:ansible | 2.4.6.0-3.3.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ansible | 2.7.8-bp150.3.6.1 · SUSE:Package Hub 12 | Package registry (OSV) |
| suse:ardana-ansible | 8.0+git.1596735237.54109b1-3.77.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ardana-cinder | 8.0+git.1596129856.263f430-3.43.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ardana-glance | 8.0+git.1593631779.76fa9b7-3.24.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ardana-mq | 8.0+git.1593618123.678c32b-3.26.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ardana-nova | 8.0+git.1601298847.dd01585-3.42.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ardana-osconfig | 8.0+git.1595885113.93abcbc-3.49.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-installation | 8.20201007-1.29.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
+4
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-426 · Untrusted Search PathCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html
- www.securitytracker.com/id/1041396
- access.redhat.com/errata/RHBA-2018:3788
- access.redhat.com/errata/RHSA-2018:2150
- access.redhat.com/errata/RHSA-2018:2151
- access.redhat.com/errata/RHSA-2018:2152
- access.redhat.com/errata/RHSA-2018:2166
- access.redhat.com/errata/RHSA-2018:2321
- access.redhat.com/errata/RHSA-2018:2585
- access.redhat.com/errata/RHSA-2019:0054
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875
- lists.debian.org/debian-lts-announce/2019/09/msg00016.html
- usn.ubuntu.com/4072-1/
- www.debian.org/security/2019/dsa-4396
Vendor advisories and official records. Exploit/PoC links are deliberately left out.