# CVE-2024-12539: Elasticsearch Incorrect Authorization

- Severity: Medium 6.0 (CVSS:4.0, scored by elastic) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-12-17T20:50:04.968Z
- Modified: 2026-09-10T03:50:21.307Z
- Also known as: GHSA-5mpw-4546-2wcr, BIT-ELASTICSEARCH-2024-12539
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: elastic

## Description

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.

(As written by CVE List.)

## Affected

- Elastic Elasticsearch: from 8.16.0 up to 8.16.1; from 8.16.0 before 8.16.2
- org.elasticsearch:elasticsearch (Maven): from 8.16.0 before 8.16.2
- elasticsearch (Bitnami): from 8.16.0 before 8.17.0

## Every score

- elastic: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-12539> (advisory, web)
- <https://github.com/elastic/elasticsearch> (package)

## Sources

- CVE List: [CVE-2024-12539](https://www.cve.org/CVERecord?id=CVE-2024-12539), CVE Terms of Use, modified 2024-12-17
- GitHub Advisory Database: [GHSA-5mpw-4546-2wcr](https://github.com/advisories/GHSA-5mpw-4546-2wcr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-12539](https://nvd.nist.gov/vuln/detail/CVE-2024-12539), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ELASTICSEARCH-2024-12539](https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2024-12539), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-12539 · Whole record: https://cve.day/CVE-2024-12539.json · Rebuilt by cve.day 2026-11-25T22:58:50.209Z
