Original description
Incorrect Authorization (CWE-863) in Elasticsearch can lead to Privilege Escalation via a delegated administrative privilege whose scope is not fully enforced during authorization checks. Elasticsearch contains an incorrect authorization weakness in a configurable, non-default privilege that lets an administrator delegate limited role-management capability to another user, scoped to specific indices. The authorization check that enforces this scoping does not correctly account for a role-definition setting that can expand the matched index set. A user holding this delegated privilege with a broadly-scoped index pattern can exploit this inconsistency by updating their own assigned role to gain access to indices that should remain restricted, including internal security data. This can enable further escalation up to full administrative control of the cluster.
Affected software
- Elasticsearch ≥ 8.16.0 ≤ 8.19.21≥ 8.16.0 < 8.19.22≥ 9.5.0 ≤ 9.5.3≥ 9.0.0 < 9.4.7≥ 9.0.0 ≤ 9.4.6≥ 9.5.0 < 9.5.4 Fixed in: 8.19.22, 9.4.7, 9.5.4 repository or package match
Details
- Published
- 2026-10-07
- Last modified
- 2026-10-08
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-863
- EPSS (30-day exploit probability)
- 0.34% (percentile 28)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.