Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-10874

25
FAUCET Score

CVE-2018-10874 is a high-severity vulnerability in Ansible, affecting products like Red Hat Ansible Engine and OpenStack, where ad-hoc commands can load inventory variables from an attacker-controlled current working directory, leading to arbitrary code execution. With a CVSS score of 7.8, this local attack requires low privileges and no user interaction, potentially resulting in complete compromise of confidentiality, integrity, and availability. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
2.0CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*
2.4CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:*
2.5CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:*
2.6CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:*
10CPE matchmatch criteria
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

7.8HIGH

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
0.48%
Probability of exploitation in next 30 days
EPSS Percentile
39.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0049 is in the 79th percentile among its peer group of 17,070 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (19)

pippatch availablevia ghsa
Product: ansibleFixed in: 2.4.6.0
pippatch availablevia ghsa
Product: ansibleFixed in: 2.5.6
pippatch availablevia ghsa
Product: ansibleFixed in: 2.6.1
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Engine 2.6 for RHEL 7Fixed in: ansible-0:2.6.1-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Engine 2 for RHEL 7Fixed in: ansible-0:2.6.1-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenStack Platform 10.0 (Newton)Fixed in: ansible-0:2.4.6.0-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenStack Platform 12.0 (Pike)Fixed in: ansible-0:2.4.6.0-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Engine 2.4 for RHEL 7Fixed in: ansible-0:2.4.6.0-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Engine 2.5 for RHEL 7Fixed in: ansible-0:2.5.6-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenStack Platform 12.0 (Pike)Fixed in: ansible-role-redhat-subscription-0:1.0.1-4.el7ost
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenStack Platform 13.0 (Queens)Fixed in: ansible-0:2.4.6.0-1.el7ae
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7Fixed in: imgbased-0:1.0.22-1.el7ev
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7Fixed in: redhat-release-virtualization-host-0:4.2-5.0.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7Fixed in: redhat-virtualization-host-0:4.2-20180724.0
View patch
redhatvendor investigatingvia nvd_reference
View patch
redhatend of lifevia redhat_api
Product: Red Hat Storage 3Fixed in: ansible
redhatend of lifevia redhat_api
Product: Red Hat Ceph Storage 2Fixed in: ansible
redhatend of lifevia redhat_api
Product: Red Hat Ceph Storage 3Fixed in: ansible
redhatend of lifevia redhat_api
Product: Red Hat OpenShift Enterprise 3Fixed in: ansible

Vendor Advisories (2)

pipGHSA-3xvg-x47j-x75whigh

Ansible Improper Input Validation vulnerability

May 13, 2022
redhatCVE-2018-10874Moderate

ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution

Jun 29, 2018

References

access.redhat.com / errata/RHBA-2018:3788
Vendor Advisory
access.redhat.com / errata/RHSA-2018:2150
Vendor Advisory
access.redhat.com / errata/RHSA-2018:2151
Vendor Advisory
access.redhat.com / errata/RHSA-2018:2152
Vendor Advisory
access.redhat.com / errata/RHSA-2018:2166
Vendor Advisory
access.redhat.com / errata/RHSA-2018:2321
Vendor Advisory
access.redhat.com / errata/RHSA-2018:2585
Vendor Advisory
access.redhat.com / errata/RHSA-2019:0054
Vendor Advisory
bugzilla.redhat.com / show_bug.cgi
Issue TrackingVendor Advisory
usn.ubuntu.com / 4072-1
securitytracker.com / id/1041396
Third Party AdvisoryVDB Entry