
CVE catalog
CVE-2018-10874
ansible: CVE-2018-10874
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ansible | sid | 14.4.0+dfsg-1 | fixed |
| Debian | ansible | forky | 14.0.0+dfsg-1 | fixed |
| Debian | ansible | trixie | 12.0.0+dfsg-0+deb13u1 | fixed |
| Debian | ansible | bookworm | 7.7.0+dfsg-3+deb12u1 | fixed |
| Ubuntu | ansible | 18.04 | 2.3.1.0+dfsg-2 | vulnerable |
| Ubuntu | ansible | 18.04 | 2.5.0+dfsg-1 | vulnerable |
| Ubuntu | ansible | 18.04 | 2.5.1+dfsg-1 | vulnerable |
| Ubuntu | ansible | 18.04 | 2.5.1+dfsg-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ansible | source | sid | 2.6.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | forky | 2.6.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | trixie | 2.6.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | bookworm | 2.6.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | ansible | deb | 18.04 | 2.5.1+dfsg-1ubuntu0.1 | Not reported | UBUNTU-CVE-2018-10874 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ansible]Fixed
Details (2)
7.7.0+dfsg-3+deb12u1· all · bookwormFixed · Fixed:
2.6.1+dfsg-1dsa · ansible · debian · bookworm; dsa · ansible · debian · 12
7.7.0+dfsg-3+deb12u1· all · bookwormFixed · Fixed:
2.6.1+dfsg-1dsa · ansible · debian · bookworm; dsa · ansible · debian · 12
[Debian 13 (Trixie)]
- [ansible]Fixed
Details (2)
12.0.0+dfsg-0+deb13u1· all · trixieFixed · Fixed:
2.6.1+dfsg-1dsa · ansible · debian · 13
12.0.0+dfsg-0+deb13u1· all · trixieFixed · Fixed:
2.6.1+dfsg-1dsa · ansible · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_4130-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-10874]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-10874]
- [https://security-tracker.debian.org/tracker/CVE-2018-10874]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-10874.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2018/wid-sec-w-2024-0959.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]