VulnarioBlogElasticsearch vulnerabilities

Elasticsearch Vulnerabilities: The 10 Most Critical Elasticsearch Security Bugs (CVEs)

Elasticsearch vulnerabilities are security flaws in Elasticsearch that attackers can abuse to steal data, take over a server or interrupt a service. Elasticsearch is a distributed search and analytics engine. The National Vulnerability Database (NVD) lists 91 CVEs for Elasticsearch, 2 of them rated critical, and 47 were published in the last 12 months. CISA lists 2 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical Elasticsearch security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Elasticsearch security basics, the current end-of-life dates and a free way to be told about the next Elasticsearch CVE as soon as it is published.

Key takeaways

  • 2 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
  • 2 Elasticsearch CVEs are rated critical (CVSS v3), and 47 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-72649, published Sep 1, 2026.
  • Supported Elasticsearch releases today (per endoflife.date): 9.5, 9.4, 8.19. Releases not on the list are past their announced end of life.
  • You can monitor Elasticsearch for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Elasticsearch CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Elasticsearch CVEs at a glance

Most critical Elasticsearch vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2015-14279.8 Critical2015-02-17Elasticsearch Groovy Scripting Engine Remote Code ExecutionYes
2CVE-2014-31208.1 High2014-07-28Elasticsearch Remote Code ExecutionYes
3CVE-2015-53779.8 Critical2018-03-06InjectionNo
4CVE-2026-726498.8 High2026-09-01Insecure deserializationNo
5CVE-2026-726428.8 High2026-08-13Security flawNo
6CVE-2021-379378.8 High2023-11-22Improper privilege managementNo
7CVE-2020-70148.8 High2020-06-03Improper privilege managementNo
8CVE-2020-70098.8 High2020-03-31Improper privilege managementNo
9CVE-2018-38318.8 High2018-09-19Information exposureNo
10CVE-2019-76118.1 High2019-03-25Improper access controlNo

Each Elasticsearch CVE explained

1. CVE-2015-1427: Elasticsearch Groovy Scripting Engine Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-25)
  • Published 2015-02-17
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.3.8; 1.4.0 to before 1.4.3
What to do
Upgrade to the fixed release for your branch (1.3.8, 1.4.3) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2015-1427 (opens in a new tab)

2. CVE-2014-3120: Elasticsearch Remote Code Execution

  • CVSS 8.1 High
  • In CISA KEV (added 2022-03-25)
  • Published 2014-07-28
  • CWE-284
What NVD says
The default configuration in Elasticsearch before 1.2 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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
before 1.2.0
What to do
Upgrade to 1.2.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2014-3120 (opens in a new tab)

3. CVE-2015-5377: Injection

  • CVSS 9.8 Critical
  • Published 2018-03-06
  • CWE-74
What NVD says
Elasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via unspecified vectors involving the transport protocol. NOTE: ZDI appears to claim that CVE-2015-3253 and CVE-2015-5377 are the same vulnerability
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.6.1
What to do
Upgrade to 1.6.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2015-5377 (opens in a new tab)

4. CVE-2026-72649: Insecure deserialization

  • CVSS 8.8 High
  • Published 2026-09-01
  • CWE-502
What NVD says
Deserialization of Untrusted Data (CWE-502) in the Elasticsearch machine learning component can lead to remote code execution via Object Injection (CAPEC-586). A specially crafted trained model artifact could cause attacker-controlled logic to execute with a materially broader system-call surface than intended. Exploitation requires an authenticated user with sufficient privileges to create and deploy trained models.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
8.0.0 to before 8.19.20; 9.0.0 to before 9.4.5; 9.5.0
What to do
Upgrade to the fixed release for your branch (8.19.20, 9.4.5) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-72649 (opens in a new tab)

5. CVE-2026-72642: Security flaw

  • CVSS 8.8 High
  • Published 2026-08-13
  • CWE-823
What NVD says
The native inference process that Elasticsearch uses to evaluate uploaded machine learning models accepts a model operation that computes a memory address from an offset supplied inside the model, without validating that the offset stays within the bounds of the underlying storage.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
8.19.0 to before 8.19.20; 9.4.0 to before 9.4.5; 9.5.0 to before 9.5.1
What to do
Upgrade to the fixed release for your branch (8.19.20, 9.4.5, 9.5.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-72642 (opens in a new tab)

6. CVE-2021-37937: Improper privilege management

  • CVSS 8.8 High
  • Published 2023-11-22
  • CWE-269
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
7.13.0 through 7.14.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2021-37937 (opens in a new tab)

7. CVE-2020-7014: Improper privilege management

  • CVSS 8.8 High
  • Published 2020-06-03
  • CWE-266
What NVD says
The 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 flaw if an attacker is able to create API keys and also authentication tokens. An attacker who is able to generate an API key and an authentication token can perform a series of steps that result in an authentication token being generated with elevated privileges.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
6.7.0 through 6.8.7; 7.0.0 through 7.6.1
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2020-7014 (opens in a new tab)

8. CVE-2020-7009: Improper privilege management

  • CVSS 8.8 High
  • Published 2020-03-31
  • CWE-266
What NVD says
Elasticsearch 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. 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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
6.7.0 to before 6.8.8; 7.0.0 to before 7.6.2
What to do
Upgrade to the fixed release for your branch (6.8.8, 7.6.2) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2020-7009 (opens in a new tab)

9. CVE-2018-3831: Information exposure

  • CVSS 8.8 High
  • Published 2018-09-19
  • CWE-200
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
5.6.0 to before 5.6.12; 6.0.0 to before 6.4.1
What to do
Upgrade to the fixed release for your branch (5.6.12, 6.4.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2018-3831 (opens in a new tab)

10. CVE-2019-7611: Improper access control

  • CVSS 8.1 High
  • Published 2019-03-25
  • CWE-284
What NVD says
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 .
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 5.6.15; 6.0.0 to before 6.6.1
What to do
Upgrade to the fixed release for your branch (5.6.15, 6.6.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-7611 (opens in a new tab)

Elasticsearch end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Elasticsearch vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Elasticsearch releases are 9.5, 9.4, 8.19.

Elasticsearch release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Elasticsearch 9.5Aug 4, 2026Not announced9.5.6Supported
Elasticsearch 9.4May 5, 2026Not announced9.4.9Supported
Elasticsearch 9.3Feb 3, 2026Aug 4, 20269.3.8End of life
Elasticsearch 9.2Oct 23, 2025May 5, 20269.2.8End of life
Elasticsearch 9.1Jul 29, 2025Feb 3, 20269.1.10End of life
Elasticsearch 8.19Jul 29, 2025Jul 15, 20278.19.24Supported
Elasticsearch 8.18Apr 15, 2025Oct 21, 20258.18.8End of life
Elasticsearch 9.0Apr 15, 2025Oct 23, 20259.0.8End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

Elasticsearch security checklist

  1. Never expose the database port to the internet; allow only the application servers.
  2. Use strong, unique credentials and least-privilege accounts for each application.
  3. Apply minor and security releases on a regular cadence, after testing.
  4. Encrypt connections with TLS and encrypt backups.
  5. Restrict or remove admin tools you do not need.
  6. Test restoring from backup, not only creating backups.

Your stack is bigger than Elasticsearch. A flaw anywhere in the chain can be the way in, so also review our guides to Grafana vulnerabilities, Java vulnerabilities and Apache Kafka vulnerabilities.

How to get alerted about new Elasticsearch vulnerabilities

NVD received 47 new Elasticsearch CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Elasticsearch and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Elasticsearch alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Elasticsearch vulnerabilities

What are the most critical Elasticsearch vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Elasticsearch CVEs include CVE-2015-1427 (CVSS 9.8), CVE-2014-3120 (CVSS 8.1), CVE-2015-5377 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Elasticsearch vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 2 Elasticsearch CVEs, including CVE-2015-1427, CVE-2014-3120. Treat these as the highest priority to patch.

How many vulnerabilities does Elasticsearch have?

As of Nov 3, 2026 the National Vulnerability Database lists 91 CVEs for Elasticsearch, with 2 rated critical by CVSS v3. 47 were published in the previous twelve months.

Which Elasticsearch versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Elasticsearch releases as supported: 9.5, 9.4, 8.19. Releases that are not listed are past their announced end of life.

How can I get alerted when a new Elasticsearch CVE is published?

Add Elasticsearch to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Elasticsearch and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Elasticsearch secure?

Elasticsearch is as secure as its patch level. NVD published 47 new Elasticsearch CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2015-1427?

CVE-2015-1427 is a critical Elasticsearch vulnerability with a CVSS score of 9.8, published Feb 17, 2015. 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.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.