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
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2015-1427 | 9.8 Critical | 2015-02-17 | Elasticsearch Groovy Scripting Engine Remote Code Execution | Yes |
| 2 | CVE-2014-3120 | 8.1 High | 2014-07-28 | Elasticsearch Remote Code Execution | Yes |
| 3 | CVE-2015-5377 | 9.8 Critical | 2018-03-06 | Injection | No |
| 4 | CVE-2026-72649 | 8.8 High | 2026-09-01 | Insecure deserialization | No |
| 5 | CVE-2026-72642 | 8.8 High | 2026-08-13 | Security flaw | No |
| 6 | CVE-2021-37937 | 8.8 High | 2023-11-22 | Improper privilege management | No |
| 7 | CVE-2020-7014 | 8.8 High | 2020-06-03 | Improper privilege management | No |
| 8 | CVE-2020-7009 | 8.8 High | 2020-03-31 | Improper privilege management | No |
| 9 | CVE-2018-3831 | 8.8 High | 2018-09-19 | Information exposure | No |
| 10 | CVE-2019-7611 | 8.1 High | 2019-03-25 | Improper access control | No |
Each Elasticsearch CVE explained
1. CVE-2015-1427: Elasticsearch Groovy Scripting Engine Remote Code Execution
- 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)
2. CVE-2014-3120: Elasticsearch Remote Code Execution
- 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)
3. CVE-2015-5377: Injection
- 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)
4. CVE-2026-72649: Insecure deserialization
- 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)
5. CVE-2026-72642: Security flaw
- 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)
6. CVE-2021-37937: Improper privilege management
- 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).
7. CVE-2020-7014: Improper privilege management
- 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).
8. CVE-2020-7009: Improper privilege management
- 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)
9. CVE-2018-3831: Information exposure
- 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)
10. CVE-2019-7611: Improper access control
- 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)
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.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Elasticsearch 9.5 | Aug 4, 2026 | Not announced | 9.5.6 | Supported |
| Elasticsearch 9.4 | May 5, 2026 | Not announced | 9.4.9 | Supported |
| Elasticsearch 9.3 | Feb 3, 2026 | Aug 4, 2026 | 9.3.8 | End of life |
| Elasticsearch 9.2 | Oct 23, 2025 | May 5, 2026 | 9.2.8 | End of life |
| Elasticsearch 9.1 | Jul 29, 2025 | Feb 3, 2026 | 9.1.10 | End of life |
| Elasticsearch 8.19 | Jul 29, 2025 | Jul 15, 2027 | 8.19.24 | Supported |
| Elasticsearch 8.18 | Apr 15, 2025 | Oct 21, 2025 | 8.18.8 | End of life |
| Elasticsearch 9.0 | Apr 15, 2025 | Oct 23, 2025 | 9.0.8 | End 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
- Never expose the database port to the internet; allow only the application servers.
- Use strong, unique credentials and least-privilege accounts for each application.
- Apply minor and security releases on a regular cadence, after testing.
- Encrypt connections with TLS and encrypt backups.
- Restrict or remove admin tools you do not need.
- 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.
Related security guides
Few stacks run Elasticsearch alone. These guides cover the technologies it is most often deployed with.
- Grafana vulnerabilities: Grafana is the leading open-source dashboard and observability platform.
- Java vulnerabilities: Java is the language and runtime behind a large share of enterprise software.
- Apache Kafka vulnerabilities: Apache Kafka is a distributed event streaming platform.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- Log4j vulnerabilities: Apache Log4j is the Java logging library at the center of the Log4Shell crisis.
- Magento vulnerabilities: Magento (Adobe Commerce) is an enterprise e-commerce platform.
- Splunk vulnerabilities: Splunk is a platform for searching and analyzing machine data and logs.
- Wazuh vulnerabilities: Wazuh is an open-source security monitoring platform (SIEM and XDR).
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
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Elasticsearch (opens in a new tab), release and support dates, checked Nov 3, 2026.
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.