Back
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…
- 7.8HighCVSS base score
- 0.47%Exploitation in 30 daysEPSS · top 59% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 54 days later
· 54 days later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.47% · top 59% of all CVEs (11 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIansibleGHSA-3xvg-x47j-x75w (opens in a new tab)
References
11
- RHSA-2018:2166 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2152 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2150 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1041396 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHBA-2018:3788 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:0054 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2151 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2321 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2585 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-4072-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-0020 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3xvg-x47j-x75w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-10874)Record last updated .