CVE-2018-10874

Summary

CVECVE-2018-10874
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-02 13:29:00 UTC
Updated2023-02-13 04:51:00 UTC
DescriptionIn ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

Risk And Classification

Problem Types: CWE-426

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Ansible Engine 2.0 All All All
Application Redhat Ansible Engine 2.4 All All All
Application Redhat Ansible Engine 2.5 All All All
Application Redhat Ansible Engine 2.6 All All All
Application Redhat Ansible Engine 2.0 All All All
Application Redhat Ansible Engine 2.4 All All All
Application Redhat Ansible Engine 2.5 All All All
Application Redhat Ansible Engine 2.6 All All All
Application Redhat Openstack 10 All All All
Application Redhat Openstack 12 All All All
Application Redhat Openstack 13 All All All
Application Redhat Openstack 13.0 All All All
Application Redhat Openstack 10 All All All
Application Redhat Openstack 12 All All All
Application Redhat Openstack 13.0 All All All
Application Redhat Virtualization 4.0 All All All
Application Redhat Virtualization 4.0 All All All
Application Redhat Virtualization Host 4.0 All All All
Application Redhat Virtualization Host 4.0 All All All

References

ReferenceSourceLinkTags
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
1596528 – (CVE-2018-10874) CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution CONFIRM bugzilla.redhat.com Issue Tracking, Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
CVE-2018-10874 - Red Hat Customer Portal MISC access.redhat.com
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
USN-4072-1: Ansible vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com
Red Hat Enterprise Virtualization Bugs in Ansible Component Lets Local Users Gain Elevated Privileges - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
1596528 – (CVE-2018-10874) CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution MISC bugzilla.redhat.com
Red Hat Customer Portal REDHAT access.redhat.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report