CVE-2018-10874
In 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.
02 Description
In 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.48% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 41.8% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-07-02 13:00Z8 YR AGO
- Last updated
- 2024-08-05 07:46Z2 YR AGO
- Reserved
- 2018-05-09
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.8)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.1
- Document digest
- ea6e0342ae3d1f39b98c41a29790410441554398b4dfbd286ed86c81f8442c08
05 Affected products
06 References
- access.redhat.comRHSA-2018:2166https://access.redhat.com/errata/RHSA-2018:2166
- access.redhat.comRHSA-2018:2152https://access.redhat.com/errata/RHSA-2018:2152
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
- access.redhat.comRHSA-2018:2150https://access.redhat.com/errata/RHSA-2018:2150
- www.securitytracker.com1041396http://www.securitytracker.com/id/1041396
- access.redhat.comRHBA-2018:3788https://access.redhat.com/errata/RHBA-2018:3788
- access.redhat.comRHSA-2019:0054https://access.redhat.com/errata/RHSA-2019:0054
- access.redhat.comRHSA-2018:2151https://access.redhat.com/errata/RHSA-2018:2151
- access.redhat.comRHSA-2018:2321https://access.redhat.com/errata/RHSA-2018:2321
- access.redhat.comRHSA-2018:2585https://access.redhat.com/errata/RHSA-2018:2585
- usn.ubuntu.comUSN-4072-1https://usn.ubuntu.com/4072-1/
07 Fixed in
Debian 12
- ansible Fixed in 2.6.1+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ansible Fixed in 2.6.1+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ansible Fixed in 2.6.1+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ansible Fixed in 2.5.1+dfsg-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.