CVE-2021-22137: Elastic Elasticsearch
Medium severity, CVSS 5.3. EPSS: 1.2% probability of exploitation activity in the next 30 days.
In Elasticsearch versions before 7.11.2 and 6.8.15 a document disclosure flaw was found when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain cross-cluster search queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Elastic Elasticsearch, before 6.8.15: fixed in 6.8.15
- Elastic Elasticsearch, from 7.11.0, before 7.11.2: fixed in 7.11.2
Affected products
- Elastic Elasticsearch: before 6.8.15 (fixed in 6.8.15); from 7.11.0, before 7.11.2 (fixed in 7.11.2)
Affected packages
- org.elasticsearch:elasticsearch (Maven)
Published 2021-05-13. Last modified 2026-06-17.