← Vulnerability feed

Vulnerability record · CVE-2021-22146 · published 21 July 2021

CVE-2021-22146: Elasticsearch vulnerability

Elastic · Elasticsearch

All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters. While in the default setting the anonymous user has no permissions and is unable to successfully query any Elasticsearch APIs, an attacker could leverage the anonymous user to gain insight into certain details of a deployed cluster.

7.5 CVSS 3.1 High EPSS 36% · top 1.6%
7.5CVSS 3.1 base score, v2 5.0
36%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters. While in the default setting the anonymous user has no permissions and is unable to successfully query any Elasticsearch APIs, an attacker could leverage the anonymous user to gain insight into certain details of a deployed cluster.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-22146 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2015-1427Elasticsearch Groovy scripting engine sandbox escape RCEThe Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 fails to enforce its sandbox, letting a crafted script execute arbit…KEVEPSS 100%analysed8.1CVE-2014-3120Elasticsearch dynamic scripting allows remote code executionThe default configuration in Elasticsearch before 1.2 enables dynamic scripting, so the source parameter to _search can execute arbitrary MVEL expres…KEVEPSS 89%analysed9.8CVE-2015-5377Elasticsearch injection vulnerabilityElasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via unspecified vectors involving the transport protocol. NOTE: ZDI appe…EPSS 14%8.8CVE-2026-72649Elasticsearch deserialization of untrusted data vulnerabilityDeserialization of Untrusted Data (CWE-502) in the Elasticsearch machine learning component can lead to remote code execution via Object Injection (C…EPSS 0.92%8.8CVE-2026-72642Elasticsearch vulnerabilityThe native inference process that Elasticsearch uses to evaluate uploaded machine learning models accepts a model operation that computes a memory ad…EPSS 0.60%8.8CVE-2021-37937Elasticsearch improper privilege management vulnerabilityAn 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 poss…EPSS 0.71%8.8CVE-2020-7014Elasticsearch improper privilege management vulnerabilityThe fix for CVE-2020-7009 was found to be incomplete. Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation fl…EPSS 1.5%8.8CVE-2020-7009Elasticsearch improper privilege management vulnerabilityElasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if an attacker is able to create API keys. …EPSS 1.6%

Source: NIST National Vulnerability Database (record CVE-2021-22146), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.