Maven (Java)Worst: High41 advisories
org.elasticsearch:elasticsearch: known vulnerabilities
org.elasticsearch:elasticsearch has 41 reviewed security advisories in the GitHub Advisory Database — 8 high, 32 moderate, 1 low. The most recent was published 2025-05-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the org.elasticsearch:elasticsearch versions running across your servers, containers and images, and ranks what to patch first.
How to fix org.elasticsearch:elasticsearch
Upgrade org.elasticsearch:elasticsearch to a release at or above the fixed version shown for each advisory below. For Maven (Java):
Bump the dependency to 8.16.0 in your pom.xml or build.gradle
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (41)
Elasticsearch Uncontrolled Resource Consumption Vulnerability
Moderate 6.5 CWE-400
— Affected: from 8.0.0-alpha1 up to 8.16.0. Fixed in 8.16.0. Published 2025-05-01. GHSA-mm3m-5497-xggg · CVE-2024-52979
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
Moderate 4.9 CWE-400
— Affected: from 8.0.0-alpha1 up to 8.15.1. Fixed in 8.15.1. Published 2025-04-08. GHSA-5xm9-x7x4-4j5x · CVE-2024-52981
Elasticsearch allocation of resources without limits or throttling leads to crash
Moderate 6.5 CWE-770
— Affected: from 8.0.0 up to 8.13.3. Fixed in 8.13.3. Published 2025-01-21. GHSA-jgx4-7v3v-vwfm · CVE-2024-43709
Elasticsearch Incorrect Authorization vulnerability
Moderate CWE-863
— Affected: from 8.16.0 up to 8.16.2. Fixed in 8.16.2. Published 2024-12-17. GHSA-5mpw-4546-2wcr · CVE-2024-12539
Elasticsearch stores private key on disk unencrypted
Moderate 4.9 CWE-311
— Affected: before 7.17.23. Fixed in 7.17.23. Published 2024-07-31. GHSA-5v8f-xx9m-wj44 · CVE-2024-23444
Elasticsearch Insertion of Sensitive Information into Log File
Moderate 5.2 CWE-532
— Affected: from 8.0.0 up to 8.11.2. Fixed in 8.11.2. Published 2024-07-26. GHSA-2hjr-vmf3-xwvp · CVE-2023-49921
Elasticsearch StackOverflow vulnerability
Moderate 4.9 CWE-122 CWE-787
— Affected: from 8.13.1 up to 8.14.0. Fixed in 8.14.0. Published 2024-06-13. GHSA-4q22-422g-m4pj · CVE-2024-37280
Elasticsearch Uncaught Exception leading to crash
Moderate 4.3 CWE-248
— Affected: from 8.4.0 up to 8.11.1. Fixed in 8.11.1. Published 2024-03-29. GHSA-pw39-f3m5-cxfc · CVE-2024-23449
Elasticsearch Incorrect Authorization vulnerability
Moderate 4.4 CWE-863
— Affected: from 8.10.0 up to 8.13.0. Fixed in 8.13.0. Published 2024-03-27. GHSA-r3hx-qfh5-r9m7 · CVE-2024-23451
Elasticsearch Uncontrolled Resource Consumption vulnerability
Moderate 4.9 CWE-400
— Affected: from 8.0.0 up to 8.13.0. Fixed in 8.13.0. Published 2024-03-27. GHSA-w5gg-2q56-6h4f · CVE-2024-23450
Elasticsearch Improper Handling of Exceptional Conditions
Moderate 6.5 CWE-755
— Affected: from 8.0.0 up to 8.10.3. Fixed in 8.10.3. Published 2023-11-22. GHSA-285m-vhfq-xx4h · CVE-2023-46673
Elasticsearch vulnerable to Uncontrolled Resource Consumption
High 7.5 CWE-400
— Affected: from 8.0.0 up to 8.9.0. Fixed in 8.9.0. Published 2023-10-26. GHSA-2cqf-6xv9-f22w · CVE-2023-31418
Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs
Moderate 4.1 CWE-532
— Affected: from 8.0.0 up to 8.9.2. Fixed in 8.9.2. Published 2023-10-26. GHSA-99pc-69q9-jxf2 · CVE-2023-31417
Elasticsearch vulnerable to stack overflow in the search API
Moderate 6.5 CWE-121 CWE-787
— Affected: from 8.0.0 up to 8.9.1. Fixed in 8.9.1. Published 2023-10-26. GHSA-qwrx-45xf-jjf7 · CVE-2023-31419
Improper Check for Unusual or Exceptional Conditions in Elasticsearch
High 7.5 CWE-754
— Affected: from 8.0.0 up to 8.2.1. Fixed in 8.2.1. Published 2022-06-06. GHSA-wh6w-69xc-5rq5 · CVE-2022-23712
Withdrawn: Cross-site Scripting in Kibana
Moderate 6.1 CWE-79
— Affected: from 7.16.0 up to 7.17.1. Fixed in 7.17.1. Published 2022-03-03. GHSA-m6gg-86c6-gfr9 · CVE-2022-23710
Elasticsearch privilege escalation
Moderate 4.3 CWE-269
— Affected: from 7.16.0 up to 7.17.1. Fixed in 7.17.1. Published 2022-03-03. GHSA-pgq6-ccqj-hpqr · CVE-2022-23708
Exposure of sensitive information in Elasticsearch
Moderate 6.5 CWE-732 CWE-862
— Affected: from 7.11.0 up to 7.14.0. Fixed in 7.14.0. Published 2021-09-15. GHSA-45h5-r968-5xr7 · CVE-2021-22147
Denial of Service in Elasticsearch
Moderate 5.7 CWE-674
— Affected: from 7.0.0-alpha1 up to 7.13.3. Fixed in 7.13.3. Published 2021-07-26. GHSA-3393-hvrj-w7v3 · CVE-2021-22144
API information disclosure flaw in Elasticsearch
Moderate 5.3 CWE-200
— Affected: before 6.8.15. Fixed in 6.8.15. Published 2021-05-13. GHSA-62ww-4p3p-7fhj · CVE-2021-22135
Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch
Moderate 5.3 CWE-200 CWE-281
— Affected: before 6.8.15. Fixed in 6.8.15. Published 2021-05-13. GHSA-hr65-qq6p-87r4 · CVE-2021-22137
Exposure of Sensitive Information to an Unauthorized Actor
Moderate 4.3 CWE-200 CWE-863
— Affected: from 7.6.0 up to 7.11.0. Fixed in 7.11.0. Published 2021-03-08. GHSA-hwvv-438r-mhvj · CVE-2021-22134
Insertion of Sensitive Information into Log File in Elasticsearch
Moderate 4.9 CWE-532
— Affected: from 7.0.0 up to 7.10.0. Fixed in 7.10.0. Published 2021-02-10. GHSA-cqgv-256r-m9r8 · CVE-2020-7021
Insufficiently Protected Credentials in Elasticsearch
Moderate 4.8 CWE-522
— Affected: from 7.7.0 up to 7.10.2. Fixed in 7.10.2. Published 2021-01-14. GHSA-5fvx-2jj3-6mff · CVE-2021-22132
Privilege Context Switching Error in Elasticsearch
Low 3.1 CWE-269 CWE-270
— Affected: from 7.0.0 up to 7.9.2. Fixed in 7.9.2. Published 2020-10-22. GHSA-g9fw-9x87-rmrj · CVE-2020-7020
Improper privilege management in elasticsearch
Moderate 6.5 CWE-269
— Affected: before 6.8.12. Fixed in 6.8.12. Published 2020-08-18. GHSA-c77j-p484-h84m · CVE-2020-7019
Privilege Escalation Flaw in Elasticsearch
Moderate 8.8 CWE-266 CWE-269
— Affected: from 7.0.0 up to 7.6.2. Fixed in 7.6.2. Published 2020-06-03. GHSA-hqqv-9x3v-mp7w · CVE-2020-7014
Improper Privilege Management in Elasticsearch
High 8.8 CWE-266 CWE-269
— Affected: from 7.0.0 up to 7.6.2. Fixed in 7.6.2. Published 2020-03-31. GHSA-gfv5-grx2-9jw2 · CVE-2020-7009
Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch
Moderate 5.3 CWE-200
— Affected: from 7.0.0 up to 7.4.0. Fixed in 7.4.0. Published 2019-10-30. GHSA-hxp8-r9g3-grfr · CVE-2019-7619
Concurrent Execution using Shared Resource with Improper Synchronization in Elasticsearch
Moderate 5.9 CWE-362
— Affected: from 7.0.0 up to 7.2.1. Fixed in 7.2.1. Published 2019-07-30. GHSA-jqm6-m3j3-8gg9 · CVE-2019-7614
Improper Access Control in Elasticsearch
High 8.1 CWE-284
— Affected: from 6.0.0 up to 6.6.1. Fixed in 6.6.1. Published 2019-03-25. GHSA-fj32-6v7m-57pg · CVE-2019-7611
Improper Restriction of XML External Entity Reference in Elasticsearch
Moderate 5.9 CWE-611
— Affected: from 6.5.0 up to 6.5.2. Fixed in 6.5.2. Published 2018-12-20. GHSA-ccmr-qj26-845g · CVE-2018-17247
Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch
Moderate 6.5 CWE-200
— Affected: from 6.4.0 up to 6.4.3. Fixed in 6.4.3. Published 2018-12-20. GHSA-vpqm-88c4-x4cv · CVE-2018-17244
Elasticsearch subject to cross site scripting
Moderate 6.1 CWE-79
— Affected: from 6.0.0 up to 6.2.4. Fixed in 6.2.4. Published 2018-09-19. GHSA-mjpc-qx7h-r8c9 · CVE-2018-3824
Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch
High 8.8 CWE-200
— Affected: from 6.0.0 up to 6.4.1. Fixed in 6.4.1. Published 2018-09-19. GHSA-r9fv-qpm9-rj4g · CVE-2018-3831
Improper Access Control in Elasticsearch
High 7.5 CWE-284
— Affected: before 1.6.0. Fixed in 1.6.0. Published 2017-08-09. GHSA-fh5x-4j57-6q5x · CVE-2015-4165
Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch
Moderate CWE-22
— Affected: before 1.6.1. Fixed in 1.6.1. Published 2015-08-17. GHSA-jjq8-vfjq-j6v4 · CVE-2015-5531
Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch
Moderate CWE-22
— Affected: from 1.5.0 up to 1.5.2. Fixed in 1.5.2. Published 2015-05-01. GHSA-x8q8-4hp5-463w · CVE-2015-3337
Improper Access Control in Elasticsearch
High CWE-284
— Affected: from 1.4.0 up to 1.4.3. Fixed in 1.4.3. Published 2015-02-17. GHSA-w94p-6mhw-4qxw · CVE-2015-1427 · In CISA KEV →
Cross-site scripting in Elasticsearch
Moderate CWE-79
— Affected: before 1.4.0.Beta1. Fixed in 1.4.0.Beta1. Published 2014-10-10. GHSA-8699-m855-cwqf · CVE-2014-6439
Elasticsearch Improper Access Control vulnerability
High 8.1 CWE-284
— Affected: before 1.4.0.Beta1. Fixed in 1.4.0.Beta1. Published 2014-07-28. GHSA-mrfm-jxgf-2h6v · CVE-2014-3120 · In CISA KEV →
Find org.elasticsearch:elasticsearch across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.