Vulnerability database / CVE-2017-8438
CVE-2017-8438
HIGH 8.8 CVSS 3.0 Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.
Published 5 Jun 2017
Last modified 17 Jun 2026 Assigned by security@elastic.co NVD status Modified Weakness
CWE-269 CWE-284 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.0
HIGH 8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.5
AV:N/AC:L/Au:S/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.0.0:*:*:*:*:*:*:*
= 5.0.0
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.0.1:*:*:*:*:*:*:*
= 5.0.1
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.0.2:*:*:*:*:*:*:*
= 5.0.2
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.1.0:*:*:*:*:*:*:*
= 5.1.0
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.1.1:*:*:*:*:*:*:*
= 5.1.1
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.2.0:*:*:*:*:*:*:*
= 5.2.0
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.2.1:*:*:*:*:*:*:*
= 5.2.1
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.2.2:*:*:*:*:*:*:*
= 5.2.2
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.3.0:*:*:*:*:*:*:*
= 5.3.0
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.3.1:*:*:*:*:*:*:*
= 5.3.1
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.3.2:*:*:*:*:*:*:*
= 5.3.2
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.3.3:*:*:*:*:*:*:*
= 5.3.3
NVD
elastic
x-packcpe:2.3:a:elastic:x-pack:5.4.0:*:*:*:*:*:*:*
= 5.4.0
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Jun 2017)