CVE-2024-12539
MEDIUM 6.0CVSS 4.0Elasticsearch Incorrect Authorization vulnerability
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.
- Published
- 17 Dec 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@elastic.co
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- BIT-elasticsearch-2024-12539GHSA-5mpw-4546-2wcr
- Sources
- NVDJSONOSV GHSA-5mpw-4546-2wcrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@elastic.co (Secondary) | CVSS 4.0 | MEDIUM 6.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 8.16.0, < 8.16.2 | 8.16.2 |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 8.16.0, < 8.16.2 | 8.16.2 |
References
- https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12539 · ADVISORY
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 17 Dec 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Dec 2024)