Elasticsearch privilege escalation

MonitorData theft and tampering over the network by a logged-in user.
5.9MEDIUM

CVE-2021-37937

Key Information:

Vendor

Elastic

CVE ID
CVE ID:
CVE-2021-37937
Vendor
CVE Published:
22 November 2023
Fixed in
Fixed in:
7.14.0

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
Elasticsearch 7.13.0 to below 7.14.0 is vulnerable
Install Elasticsearch 7.14.0 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Elasticsearch. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.9).

What is CVE-2021-37937?

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.

References

Input Validation Flaw in Kibana

CVE-2026-0543
ElasticKibanaπŸ˜„6.5MEDIUM

Cross-site Scripting Vulnerability in Vega by Elastic

CVE-2025-68385
ElasticKibana7.2HIGH

Privilege Escalation in Elastic Cloud Enterprise

CVE-2025-37736
ElasticElastic Cloud Enterpri...8.8HIGH
View more Elastic vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
.