# CVE-2021-22137: Exposure of Sensitive Information to an Unauthorized Actor 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.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2021-05-13T17:35:18.000Z
- Modified: 2026-09-08T08:47:12.201Z
- Also known as: GHSA-hr65-qq6p-87r4, BIT-ELASTICSEARCH-2021-22137
- Weaknesses: CWE-200, CWE-281
- Assigned by: elastic

## Description

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.

(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.11.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-22137> (advisory, web)
- <https://github.com/elastic/elasticsearch> (package)
- <https://security.netapp.com/advisory/ntap-20210625-0003> (web)

## Sources

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

---

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