CVE catalog

CVE-2018-10874

ansible: CVE-2018-10874

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianansiblesid14.4.0+dfsg-1fixed
Debianansibleforky14.0.0+dfsg-1fixed
Debianansibletrixie12.0.0+dfsg-0+deb13u1fixed
Debianansiblebookworm7.7.0+dfsg-3+deb12u1fixed
Ubuntuansible18.042.3.1.0+dfsg-2vulnerable
Ubuntuansible18.042.5.0+dfsg-1vulnerable
Ubuntuansible18.042.5.1+dfsg-1vulnerable
Ubuntuansible18.042.5.1+dfsg-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianansiblesourcesid2.6.1+dfsg-1not yet assignedNot reportedNot reported
Debianansiblesourceforky2.6.1+dfsg-1not yet assignedNot reportedNot reported
Debianansiblesourcetrixie2.6.1+dfsg-1not yet assignedNot reportedNot reported
Debianansiblesourcebookworm2.6.1+dfsg-1not yet assignedNot reportedNot reported
Ubuntuansibledeb18.042.5.1+dfsg-1ubuntu0.1Not reportedUBUNTU-CVE-2018-10874Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ansible]Fixed
    Details (2)
    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.6.1+dfsg-1

      dsa · ansible · debian · bookworm; dsa · ansible · debian · 12

    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.6.1+dfsg-1

      dsa · ansible · debian · bookworm; dsa · ansible · debian · 12

[Debian 13 (Trixie)]

  • [ansible]Fixed
    Details (2)
    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.6.1+dfsg-1

      dsa · ansible · debian · 13

    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.6.1+dfsg-1

      dsa · ansible · debian · 13

Observed:

References