Medium
Elasticsearch Incorrect Authorization
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-12539
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 13:56 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-12539
Complete source record
{
"id": "a8741200417dfdcbcefdca3fda916cd7b111430d0bc32226ecb46db4be5fc69f",
"url": "https://osv.dev/vulnerability/CVE-2024-12539",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Elasticsearch Incorrect Authorization",
"summary": "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.",
"evidence": "osv:CVE-2024-12539",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-12539",
"aliases": [
"BIT-elasticsearch-2024-12539",
"CVE-2024-12539",
"GHSA-5mpw-4546-2wcr"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elastic/elasticsearch",
"type": "GIT",
"events": [
{
"introduced": "12ff76a92922609df4aba61a368e7adf65589749"
},
{
"fixed": "fc1fb13693e87881046baa93e2cf1f4caf2fd58b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.16.0"
},
{
"fixed": "8.16.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v8.16.1",
"v8.16.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12539.json"
}
}
],
"modified": "2026-10-28T02:30:50.927866844Z",
"provider": "osv",
"references": [
"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12539.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-12539"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "elastic",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "8.16.0"
},
{
"last_affected": "8.16.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12539.json"
}
},
"related_cves": [
{
"value": "CVE-2024-12539",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519543,
"published_at": "2024-12-17T20:50:04.968+00:00"
}