Original description
Authorization Bypass Through User-Controlled Key (CWE-639) in Elasticsearch can lead to Information Disclosure via a specially crafted cross-cluster search request that references an unauthorized shard identifier. Elasticsearch contains an authorization bypass weakness in its handling of cross-cluster search requests made through the Remote Cluster Security (RCS) 2.0 model. An authorization check validates a request against one identifying attribute of the target shard, while a separate, independently-supplied identifying attribute in the same request determines which shard is actually accessed. A holder of a cross-cluster API key authorized for one index can craft a request whose two identifying attributes refer to different indices, causing the request to be authorized against an index they can access while actually operating against a different, unauthorized index. This can expose that index's document contents, field mappings, and other metadata, and in limited cases allows modification of retention-lease state on the unauthorized index.
Affected software
- Elasticsearch ≥ 9.0.0 ≤ 9.4.7≥ 8.13.0 ≤ 8.19.22≥ 8.13.0 < 8.19.23≥ 9.5.0 < 9.5.5≥ 9.5.0 ≤ 9.5.4≥ 9.0.0 < 9.4.8 Fixed in: 8.19.23, 9.5.5, 9.4.8 repository or package match
Details
- Published
- 2026-10-07
- Last modified
- 2026-10-07
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N- CWE
- CWE-639
- EPSS (30-day exploit probability)
- 0.24% (percentile 16)
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.