Security mailing lists by PureSourceCode

CVE-2018-10874

HIGH 7.8CVSS 3.0

Ansible Improper Input Validation vulnerability

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.

Published
2 Jul 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20CWE-426
Also known as
GHSA-3xvg-x47j-x75wPYSEC-2018-81
Sources
NVDJSONOSV GHSA-3xvg-x47j-x75wJSONOSV PYSEC-2018-81JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD secalert@redhat.com (Secondary) CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*
= 2.0
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:*
= 2.4
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:*
= 2.5
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:*
= 2.6
NVD redhat openstack
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
= 10
NVD redhat openstack
cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*
= 12
NVD redhat openstack
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
= 13
NVD redhat virtualization
cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat virtualization_host
cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*
= 4.0
OSV PyPI ansible < 2.4.6.0 2.4.6.0
OSV PyPI ansible >= 2.5, < 2.5.6 2.5.6
OSV PyPI ansible >= 2.6, < 2.6.1 2.6.1
OSV PyPI ansible < 2.4.6.0; >= 2.5, < 2.5.6; >= 2.6, < 2.6.1 2.4.6.0, 2.5.6, 2.6.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 2 Jul 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.