# CVE-2021-22135: API information disclosure flaw in Elasticsearch

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.34%, higher than 72% of CVEs (2026-12-01)
- Published: 2021-05-13T17:35:17.000Z
- Modified: 2026-09-08T08:46:15.726Z
- Also known as: GHSA-62ww-4p3p-7fhj, BIT-ELASTICSEARCH-2021-22135
- Weaknesses: CWE-200
- Assigned by: elastic

## 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.

(As written by CVE List.)

## Affected

- Elastic Elasticsearch: before 7.11.2 and 6.8.15; before 6.8.15; from 7.11.0 before 7.11.2
- org.elasticsearch:elasticsearch (Maven): from 7.0.0 before 7.11.2; before 6.8.15
- elasticsearch (Bitnami): before 6.8.15; from 7.11.0 before 7.11.2

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125> (advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210625-0003/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22135> (advisory, web)
- <https://security.netapp.com/advisory/ntap-20210625-0003> (web)

## Sources

- CVE List: [CVE-2021-22135](https://www.cve.org/CVERecord?id=CVE-2021-22135), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-62ww-4p3p-7fhj](https://github.com/advisories/GHSA-62ww-4p3p-7fhj), CC-BY-4.0, modified 2024-02-17
- NVD: [CVE-2021-22135](https://nvd.nist.gov/vuln/detail/CVE-2021-22135), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ELASTICSEARCH-2021-22135](https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2021-22135), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-22135 · Whole record: https://cve.day/CVE-2021-22135.json · Rebuilt by cve.day 2026-11-25T22:58:01.332Z
