CVE-2021-22135: Elastic Elasticsearch
Medium severity, CVSS 5.3. EPSS: 1.3% probability of exploitation activity in the next 30 days.
Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.
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.