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.
Conclusion & alert: CVE-2017-8438 is rated Moderate Risk (56.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.03%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.41% | 1.03% | +0.61% |
| 2 | 2025-03-30 | 0.32% | 0.41% | +0.09% |
| 3 | 2025-03-29 | — | 0.32% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.0 | HIGH |
|
2.8 | 5.9 | [email protected] |
| 6.5 | 2.0 | MEDIUM |
|
8.0 | 6.4 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| elastic | x-pack | 5.0.0 | cpe:2.3:a:elastic:x-pack:5.0.0:*:*:*:*:*:*:* |
| elastic | x-pack | 5.0.1 | cpe:2.3:a:elastic:x-pack:5.0.1:*:*:*:*:*:*:* |
| elastic | x-pack | 5.0.2 | cpe:2.3:a:elastic:x-pack:5.0.2:*:*:*:*:*:*:* |
| elastic | x-pack | 5.1.0 | cpe:2.3:a:elastic:x-pack:5.1.0:*:*:*:*:*:*:* |
| elastic | x-pack | 5.1.1 | cpe:2.3:a:elastic:x-pack:5.1.1:*:*:*:*:*:*:* |
| elastic | x-pack | 5.2.0 | cpe:2.3:a:elastic:x-pack:5.2.0:*:*:*:*:*:*:* |
| elastic | x-pack | 5.2.1 | cpe:2.3:a:elastic:x-pack:5.2.1:*:*:*:*:*:*:* |
| elastic | x-pack | 5.2.2 | cpe:2.3:a:elastic:x-pack:5.2.2:*:*:*:*:*:*:* |
| elastic | x-pack | 5.3.0 | cpe:2.3:a:elastic:x-pack:5.3.0:*:*:*:*:*:*:* |
| elastic | x-pack | 5.3.1 | cpe:2.3:a:elastic:x-pack:5.3.1:*:*:*:*:*:*:* |
| elastic | x-pack | 5.3.2 | cpe:2.3:a:elastic:x-pack:5.3.2:*:*:*:*:*:*:* |
| elastic | x-pack | 5.3.3 | cpe:2.3:a:elastic:x-pack:5.3.3:*:*:*:*:*:*:* |
| elastic | x-pack | 5.4.0 | cpe:2.3:a:elastic:x-pack:5.4.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 | Vendor Advisory |
| https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released | Patch Vendor Advisory |
| https://www.elastic.co/community/security | Vendor Advisory |