CVE-2018-10875: High severity redhat Ansible Engine vulnerability

Published Jun 29, 2018
·
Updated

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.

Other sources

It was found that ansible.cfg is being read from current working directory, which cam be made to point to plugin or module paths that are under control of the attacker, allowing to execute arbitrary code.

Red Hat

Affected Software

29 affected componentsFixes available
redhat/ansible<2.4.6
2.4.6
redhat/ansible<2.5.6
2.5.6
redhat/ansible<2.6.1
2.6.1
pip/ansible>=2.6.0a1<2.6.1
2.6.1
pip/ansible>=2.5.0a1<2.5.6
2.5.6
pip/ansible<2.4.6.0
2.4.6.0
redhat Ansible Engine=2.0
redhat Ansible Engine=2.4
redhat Ansible Engine=2.5
redhat Ansible Engine=2.6
redhat Ceph Storage=2.0
redhat Ceph Storage=3.0
redhat Gluster Storage=3.0.0
redhat Openshift=3.0
redhat Openstack=10
redhat Openstack=12
redhat Openstack=13
redhat Virtualization=4.0
redhat Virtualization Host=4.0
Debian Debian Linux=9.0
All of the following
SUSE Package Hub
SUSE SUSE Linux Enterprise Server=12
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Debian Debian Linux=8.0
SUSE Package Hub
SUSE SUSE Linux Enterprise Server=12
debian/ansible
2.10.7+merged+base+2.10.17+dfsg-0+deb11u12.10.7+merged+base+2.10.17+dfsg-0+deb11u47.7.0+dfsg-3+deb12u112.0.0+dfsg-0+deb13u113.4.0+dfsg-1

Event History

Jul 13, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
May 13, 2022
Advisory Published
via GitHub·01:07 AM
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·12:40 AM
RemedyDescriptionSeverityAffected Software
Mar 18, 2026
Data Sourced
via Debian·01:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

CVE-2018-10875

2

What is the severity of CVE-2018-10875?

The severity of CVE-2018-10875 is high (CVSS score of 7.8).

3

How does CVE-2018-10875 impact Ansible?

CVE-2018-10875 allows an attacker to execute arbitrary code by altering the ansible.cfg file and making it point to a plugin or module path under their control.

4

Which versions of Ansible are affected by CVE-2018-10875?

Ansible versions 2.5.1+dfsg-1ubuntu0.1 and earlier, as well as 2.6.1+dfsg-1 and earlier, are affected by CVE-2018-10875.

5

How can I fix CVE-2018-10875 in Ansible?

To fix CVE-2018-10875 in Ansible, upgrade to version 2.5.1+dfsg-1ubuntu0.1 or later for Ubuntu, or version 2.6.1+dfsg-1 or later for all other distributions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203