← Catalog
El

Elasticsearch

Search & Analytics latest v9.4.4 · via GitHub Releases
MODERATE CVE-2025-37731 Mon, Dec 15

Improper Authentication in Elasticsearch PKI realm can lead to user impersonation via specially crafted client certificates. A malicious actor would need to have such a crafted client certificate signed by a legitimate, trusted Certificate Authority.

GHSA-m9gh-789g-q5pv CVE-2025-37731 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N org.elasticsearch:elasticsearch introduced: 7.0.0-alpha1 fixed: 8.19.8 org.elasticsearch:elasticsearch introduced: 9.0.0-beta1 fixed: 9.1.8 org.elasticsearch:elasticsearch introduced: 9.2.0 fixed: 9.2.2
MODERATE CVE-2025-37727 Fri, Oct 10

Insertion of sensitive information in log file in Elasticsearch can lead to loss of confidentiality under specific preconditions when auditing requests to the reindex API https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-reindex

GHSA-56r7-h6mw-rcfv CVE-2025-37727 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 8.18.8 org.elasticsearch:elasticsearch introduced: 8.19.0 fixed: 8.19.5 org.elasticsearch:elasticsearch introduced: 9.0.0-beta1 fixed: 9.0.8 org.elasticsearch:elasticsearch introduced: 9.1.0 fixed: 9.1.5
MODERATE CVE-2024-52979 Thu, May 1

Uncontrolled Resource Consumption in Elasticsearch while evaluating specifically crafted search templates with Mustache functions can lead to Denial of Service by causing the Elasticsearch node to crash.

GHSA-mm3m-5497-xggg CVE-2024-52979 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 0 fixed: 7.17.25 org.elasticsearch:elasticsearch introduced: 8.0.0-alpha1 fixed: 8.16.0
MODERATE CVE-2024-52981 Tue, Apr 8

An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.

GHSA-5xm9-x7x4-4j5x CVE-2024-52981 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 7.17.0 fixed: 7.17.24 org.elasticsearch:elasticsearch introduced: 8.0.0-alpha1 fixed: 8.15.1
MODERATE CVE-2024-52980 Tue, Apr 8

A flaw was discovered in Elasticsearch, where a large recursion using the innerForbidCircularReferences function of the PatternBank class could cause the Elasticsearch node to crash. A successful attack requires a malicious user to have read_pipeline Elasticsearch cluster privilege assigned to them.

GHSA-ghfh-p92w-j4mg CVE-2024-52980 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 7.17.0 fixed: 8.15.1
MODERATE CVE-2024-43709 Tue, Jan 21

An allocation of resources without limits or throttling in Elasticsearch can lead to an OutOfMemoryError exception resulting in a crash via a specially crafted query using an SQL function.

GHSA-jgx4-7v3v-vwfm CVE-2024-43709 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 0 fixed: 7.17.21 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.13.3
MODERATE CVE-2024-12539 Tue, Dec 17

An issue was discovered where improper authorization controls affected certain queries that could allow a malicious actor to circumvent Document Level Security in Elasticsearch and get access to documents that their roles would normally not allow.

GHSA-5mpw-4546-2wcr CVE-2024-12539 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N org.elasticsearch:elasticsearch introduced: 8.16.0 fixed: 8.16.2
MODERATE CVE-2024-23444 Wed, Jul 31

It was discovered by Elastic engineering that when elasticsearch-certutil CLI tool is used with the csr option in order to create a new Certificate Signing Requests, the associated private key that is generated is stored on disk unencrypted even if the `--pass` parameter is passed in the command invocation.

GHSA-5v8f-xx9m-wj44 CVE-2024-23444 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 8.0.0-alpha1 fixed: 8.13.0 org.elasticsearch:elasticsearch introduced: 0 fixed: 7.17.23
MODERATE CVE-2023-49921 Fri, Jul 26

An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. This could lead to raw contents of documents stored in Elasticsearch to be printed in logs. Elastic has released 8.11.2 and 7.17.16 that resolves this issue by removing this excessive logging.

GHSA-2hjr-vmf3-xwvp CVE-2023-49921 CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 0 fixed: 7.17.16 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.11.2
MODERATE CVE-2024-37280 Thu, Jun 13

A flaw was discovered in Elasticsearch, affecting document ingestion when an index template contains a dynamic field mapping of “passthrough” type. Under certain circumstances, ingesting documents in this index would cause a StackOverflow exception to be thrown and ultimately lead to a Denial of Service. Note that passthrough fields is an experimental feature.

GHSA-4q22-422g-m4pj CVE-2024-37280 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 8.13.1 fixed: 8.14.0
MODERATE CVE-2024-23449 Fri, Mar 29

An uncaught exception in Elasticsearch >= 8.4.0 and < 8.11.1 occurs when an encrypted PDF is passed to an attachment processor through the REST API. The Elasticsearch ingest node that attempts to parse the PDF file will crash. This does not happen with password-protected PDF files or with unencrypted PDF files.

GHSA-pw39-f3m5-cxfc CVE-2024-23449 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L org.elasticsearch:elasticsearch introduced: 8.4.0 fixed: 8.11.1
MODERATE CVE-2024-23451 Wed, Mar 27

Incorrect Authorization issue exists in the API key based security model for Remote Cluster Security, which is currently in Beta, in Elasticsearch 8.10.0 and before 8.13.0.

GHSA-r3hx-qfh5-r9m7 CVE-2024-23451 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 8.10.0 fixed: 8.13.0
MODERATE CVE-2024-23450 Wed, Mar 27

A flaw was discovered in Elasticsearch, where processing a document in a deeply nested pipeline on an ingest node could cause the Elasticsearch node to crash.

GHSA-w5gg-2q56-6h4f CVE-2024-23450 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.17.19 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.13.0
MODERATE CVE-2023-46673 Wed, Nov 22

It was identified that malformed scripts used in the script processor of an Ingest Pipeline could cause an Elasticsearch node to crash when calling the Simulate Pipeline API.

GHSA-285m-vhfq-xx4h CVE-2023-46673 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.17.14 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.10.3
MODERATE CVE-2023-31419 Thu, Oct 26

A flaw was discovered in Elasticsearch affecting the `_search` API that allowed a specially crafted query string to cause a stack overflow and ultimately a denial of service.

GHSA-qwrx-45xf-jjf7 CVE-2023-31419 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.17.13 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.9.1
MODERATE CVE-2023-31417 Thu, Oct 26

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs.

GHSA-99pc-69q9-jxf2 CVE-2023-31417 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.17.13 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.9.2
HIGH CVE-2023-31418 Thu, Oct 26

An issue has been identified with how Elasticsearch handled incoming requests on the HTTP layer. An unauthenticated user could force an Elasticsearch node to exit with an OutOfMemory error by sending a moderate number of malformed HTTP requests. The issue was identified by Elastic Engineering and we have no indication that the issue is known or that it is being exploited in the wild.

GHSA-2cqf-6xv9-f22w CVE-2023-31418 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 0 fixed: 7.17.13 org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.9.0
HIGH CVE-2022-23712 Tue, Jun 7

A Denial of Service flaw was discovered in Elasticsearch 8.0.0 through 8.2.0. Using this vulnerability, an unauthenticated attacker could forcibly shut down an Elasticsearch node with a specifically formatted network request. Version 8.2.1 contains a patch.

GHSA-wh6w-69xc-5rq5 CVE-2022-23712 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 8.0.0 fixed: 8.2.1
MODERATE CVE-2021-22137 Tue, May 24

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.

GHSA-hr65-qq6p-87r4 CVE-2021-22137 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.11.0 fixed: 7.11.2 org.elasticsearch:elasticsearch introduced: 0 fixed: 6.8.15
MODERATE CVE-2020-7021 Tue, May 24

Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.

GHSA-cqgv-256r-m9r8 CVE-2020-7021 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 0 fixed: 6.8.14 org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.10.0
MODERATE CVE-2020-7019 Tue, May 24

In Elasticsearch before 7.9.0 and 6.8.12 a field disclosure flaw was found when running a scrolling search with Field Level Security. If a user runs the same query another more privileged user recently ran, the scrolling search can leak fields that should be hidden. This could result in an attacker gaining additional permissions against a restricted index.

GHSA-c77j-p484-h84m CVE-2020-7019 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.9.0 org.elasticsearch:elasticsearch introduced: 0 fixed: 6.8.12
HIGH CVE-2020-7009 Tue, May 24

Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation flaw if an attacker is able to create API keys. An attacker who is able to generate an API key can perform a series of steps that result in an API key being generated with elevated privileges.

GHSA-gfv5-grx2-9jw2 CVE-2020-7009 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H org.elasticsearch:elasticsearch introduced: 6.7.0 fixed: 6.8.8 org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.6.2
MODERATE CVE-2019-7619 Tue, May 24

Elasticsearch versions 7.0.0-7.3.2 and 6.7.0-6.8.3 contain a username disclosure flaw was found in the API Key service. An unauthenticated attacker could send a specially crafted request and determine if a username exists in the Elasticsearch native realm.

GHSA-hxp8-r9g3-grfr CVE-2019-7619 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N org.elasticsearch:elasticsearch introduced: 6.7.0 fixed: 6.8.4 org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.4.0
MODERATE CVE-2019-7614 Tue, May 24

A race condition flaw was found in the response headers Elasticsearch versions before 7.2.1 and 6.8.2 returns to a request. On a system with multiple users submitting requests, it could be possible for an attacker to gain access to response header containing sensitive data from another user.

GHSA-jqm6-m3j3-8gg9 CVE-2019-7614 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 0 fixed: 6.8.2 org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.2.1
MODERATE CVE-2015-3337 Tue, May 17

Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, allows remote attackers to read arbitrary files via unspecified vectors.

GHSA-x8q8-4hp5-463w CVE-2015-3337 org.elasticsearch:elasticsearch introduced: 0 fixed: 1.4.5 org.elasticsearch:elasticsearch introduced: 1.5.0 fixed: 1.5.2
HIGH CVE-2014-3120 Tue, May 17

The default configuration in Elasticsearch before 1.4.0.Beta1 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to _search. NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.

GHSA-mrfm-jxgf-2h6v CVE-2014-3120 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:H org.elasticsearch:elasticsearch introduced: 0 fixed: 1.4.0.Beta1
MODERATE CVE-2014-6439 Sat, May 14

Cross-site scripting (XSS) vulnerability in the CORS functionality in Elasticsearch before 1.4.0.Beta1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

GHSA-8699-m855-cwqf CVE-2014-6439 org.elasticsearch:elasticsearch introduced: 0 fixed: 1.4.0.Beta1
HIGH CVE-2015-1427 Sat, May 14

The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.

GHSA-w94p-6mhw-4qxw CVE-2015-1427 org.elasticsearch:elasticsearch introduced: 0 fixed: 1.3.8 org.elasticsearch:elasticsearch introduced: 1.4.0 fixed: 1.4.3
HIGH CVE-2015-4165 Sat, May 14

The snapshot API in Elasticsearch before 1.6.0 when another application exists on the system that can read Lucene files and execute code from them, is accessible by the attacker, and the Java VM on which Elasticsearch is running can write to a location that the other application can read and execute from, allows remote authenticated users to write to and create arbitrary snapshot metadata files, and potentially execute arbitrary code.

GHSA-fh5x-4j57-6q5x CVE-2015-4165 CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H org.elasticsearch:elasticsearch introduced: 0 fixed: 1.6.0
MODERATE CVE-2015-5531 Sat, May 14

Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors related to snapshot API calls.

GHSA-jjq8-vfjq-j6v4 CVE-2015-5531 org.elasticsearch:elasticsearch introduced: 0 fixed: 1.6.1
MODERATE CVE-2018-17247 Fri, May 13

Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.

GHSA-ccmr-qj26-845g CVE-2018-17247 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 6.5.0 fixed: 6.5.2
MODERATE CVE-2018-17244 Fri, May 13

Elasticsearch Security versions 6.4.0 to 6.4.2 contain an error in the way request headers are applied to requests when using the Active Directory, LDAP, Native, or File realms. A request may receive headers intended for another request if the same username is being authenticated concurrently; when used with run as, this can result in the request running as the incorrect user. This could allow a user to access information that they should not have access to.

GHSA-vpqm-88c4-x4cv CVE-2018-17244 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 6.4.0 fixed: 6.4.3
MODERATE CVE-2018-3824 Fri, May 13

X-Pack Machine Learning versions before 6.2.4 and 5.6.9 had a cross-site scripting (XSS) vulnerability. If an attacker is able to inject data into an index that has a ML job running against it, then when another user views the results of the ML job it could allow the attacker to obtain sensitive information from or perform destructive actions on behalf of that other ML user.

GHSA-mjpc-qx7h-r8c9 CVE-2018-3824 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N org.elasticsearch:elasticsearch introduced: 0 fixed: 5.6.9 org.elasticsearch:elasticsearch introduced: 6.0.0 fixed: 6.2.4
HIGH CVE-2018-3831 Fri, May 13

Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secrets are configured via the API. The Elasticsearch _cluster/settings API, when queried, could leak sensitive configuration information such as passwords, tokens, or usernames. This could allow an authenticated Elasticsearch user to improperly view these details.

GHSA-r9fv-qpm9-rj4g CVE-2018-3831 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H org.elasticsearch:elasticsearch introduced: 5.6.0 fixed: 5.6.12 org.elasticsearch:elasticsearch introduced: 6.0.0 fixed: 6.4.1
HIGH CVE-2019-7611 Fri, May 13

A permission issue was found in Elasticsearch versions before 5.6.15 and 6.6.1 when Field Level Security and Document Level Security are disabled and the _aliases, _shrink, or _split endpoints are used . If the elasticsearch.yml file has xpack.security.dls_fls.enabled set to false, certain permission checks are skipped when users perform one of the actions mentioned above, to make existing data available under a new index/alias name.

GHSA-fj32-6v7m-57pg CVE-2019-7611 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H org.elasticsearch:elasticsearch introduced: 0 fixed: 5.6.15 org.elasticsearch:elasticsearch introduced: 6.0.0 fixed: 6.6.1
MODERATE CVE-2022-23708 Fri, Mar 4

A flaw was discovered in Elasticsearch 7.17.0’s upgrade assistant, in which upgrading from version 6.x to 7.x would disable the in-built protections on the security index, allowing authenticated users with “*” index permissions access to this index. Users running a cluster on an affected version that had previously been upgraded from 6.x, should upgrade to 7.17.1.

GHSA-pgq6-ccqj-hpqr CVE-2022-23708 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.16.0 fixed: 7.17.1
MODERATE CVE-2021-22147 Mon, Sep 20

A flaw was discovered in Elasticsearch where document and field level security was not applied to searchable snapshots. This could lead to an authenticated user gaining access to information that they are unauthorized to view.

GHSA-45h5-r968-5xr7 CVE-2021-22147 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.11.0 fixed: 7.14.0
MODERATE CVE-2021-22144 Mon, Aug 9

In Elasticsearch versions before 7.13.3 and 6.8.17 an uncontrolled recursion vulnerability that could lead to a denial of service attack was identified in the Elasticsearch Grok parser. A user with the ability to submit arbitrary queries to Elasticsearch could create a malicious Grok query that will crash the Elasticsearch node.

GHSA-3393-hvrj-w7v3 CVE-2021-22144 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H org.elasticsearch:elasticsearch introduced: 0 fixed: 6.8.17 org.elasticsearch:elasticsearch introduced: 7.0.0-alpha1 fixed: 7.13.3
MODERATE CVE-2021-22135 Fri, Jul 2

Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

GHSA-62ww-4p3p-7fhj CVE-2021-22135 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.0.0 fixed: 7.11.2 org.elasticsearch:elasticsearch introduced: 0 fixed: 6.8.15
MODERATE CVE-2021-22132 Thu, Mar 18

Elasticsearch versions 7.7.0 to 7.10.1 contain an information disclosure flaw in the async search API. Users who execute an async search will improperly store the HTTP headers. An Elasticsearch user with the ability to read the .tasks index could obtain sensitive request headers of other users in the cluster. This issue is fixed in Elasticsearch 7.10.2

GHSA-5fvx-2jj3-6mff CVE-2021-22132 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N org.elasticsearch:elasticsearch introduced: 7.7.0 fixed: 7.10.2