CVE-2021-37937
Elasticsearch vulnerability analysis and mitigation

Overview

A privilege escalation vulnerability (CVE-2021-37937) was discovered in Elasticsearch versions 7.13.0 through 7.14.0. The vulnerability affects how API keys are created with the Fleet-Server service account, where an API key could potentially be created with higher privileges than intended (Elastic Advisory).

Technical details

The vulnerability stems from an implementation flaw in the API key creation process for Fleet-Server service accounts. When an API key is created with a service account, the system fails to properly enforce privilege limitations. The vulnerability has a CVSS v3.1 base score of 5.9 (Medium) with the vector string AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N, indicating that it requires network access, high attack complexity, and high privileges to exploit (NVD).

Impact

If exploited, this vulnerability allows a compromised Fleet-Server service account to escalate its privileges to super-user status, potentially gaining full administrative access to the Elasticsearch system (Elastic Advisory).

Mitigation and workarounds

Users should upgrade to Elasticsearch version 7.14.1 which contains the fix for this vulnerability. No alternative workarounds have been provided (Elastic Advisory).

Additional resources


SourceThis report was generated using AI

Related Elasticsearch vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-52979HIGH7.5
  • JavaJava
  • elasticsearch
NoYesMay 01, 2025
CVE-2024-52981HIGH7.5
  • JavaJava
  • org.elasticsearch:elasticsearch
NoYesApr 08, 2025
CVE-2024-43709HIGH7.5
  • JavaJava
  • elasticsearch
NoYesJan 21, 2025
CVE-2024-52980MEDIUM6.5
  • JavaJava
  • cpe:2.3:a:elasticsearch:elasticsearch
NoYesApr 08, 2025
CVE-2025-37727MEDIUM5.7
  • JavaJava
  • ruby3.4-elasticsearch
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management