# CVE-2021-37937: Elasticsearch privilege escalation

- Severity: Medium 5.9 (CVSS:3.1, scored by elastic) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/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): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2023-11-22T01:45:21.008Z
- Modified: 2026-09-08T08:47:12.183Z
- Also known as: BIT-ELASTICSEARCH-2021-37937
- Weaknesses: CWE-269
- Assigned by: elastic

## Description

An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.

(As written by CVE List.)

## Affected

- Elastic Elasticsearch: from 7.13.0 before 7.14.0; from 7.13.0 up to 7.14.0
- elasticsearch (Bitnami): from 7.13.0 before 7.14.1

## Every score

- elastic: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077> (advisory, vendor-advisory)
- <https://www.elastic.co/community/security> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-37937> (web)

## Sources

- CVE List: [CVE-2021-37937](https://www.cve.org/CVERecord?id=CVE-2021-37937), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-37937](https://nvd.nist.gov/vuln/detail/CVE-2021-37937), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ELASTICSEARCH-2021-37937](https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2021-37937), Apache-2.0, modified 2026-09-08

---

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