Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality
Published Jun 5, 2017
8.8
HIGHCVSS 3.0
EPSS 1.03%
Description
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.
Affected products
-
- Version 5.0.0 to 5.4.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Elastic | X-Pack Security | n/a |
|
- 5.0.0
- 5.0.1
- 5.0.2
- 5.1.0
- 5.1.1
- 5.2.0
- 5.2.1
- 5.2.2
- 5.3.0
- 5.3.1
- 5.3.2
- 5.3.3
- 5.4.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.03% (0.01025) | 62.26th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.03% (0.01025) | 62.06th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.20% (0.00197) | 57.69th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.20% (0.00197) | 55.81th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00890) | 12.04th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (3)
- https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 x_refsource_CONFIRMVendor Advisory
- https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released x_refsource_CONFIRMPatchVendor Advisory
- https://www.elastic.co/community/security x_refsource_CONFIRMVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 | x_refsource_CONFIRMVendor Advisory | |
| https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released | x_refsource_CONFIRMPatchVendor Advisory | |
| https://www.elastic.co/community/security | x_refsource_CONFIRMVendor Advisory |
Change history (0)
No recorded changes yet.