All reports
Medium

API information disclosure flaw in Elasticsearch

Affected versions

Affected versions
< 6.8.15
Fixed version
6.8.15
Affected versions
>= 7.0.0, < 7.11.2
Fixed version
7.11.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-22135

Probability of exploitation in the next 30 days: 1.34%

FIRST EPSS · 2026-11-21

Description

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.

Links