Incorrect Authorization in Elasticsearch Leading to Privilege Escalation
Incorrect Authorization (CWE-863) in Elasticsearch can lead to Privilege Escalation via a delegated administrative privilege whose scope is not fully enforced during authorization checks. Elasticsearch contains an incorrect authorization weakness in a configurable, non-default privilege that lets an administrator delegate limited role-management capability to another user, scoped to specific indices. The authorization check that enforces this scoping does not correctly account for a role-definition setting that can expand the matched index set. A user holding this delegated privilege with a broadly-scoped index pattern can exploit this inconsistency by updating their own assigned role to gain access to indices that should remain restricted, including internal security data. This can enable further escalation up to full administrative control of the cluster.
- Products
- elasticsearch
- Affected versions
- Not specified
- Fixed versions
- 8.19.22, 9.4.7, 9.5.4
- CVEs
- CVE-2026-103007
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 12:04 UTC · Revision 1
Source evidence
Incorrect Authorization in Elasticsearch Leading to Privilege Escalation
core-osv · Original sourcePublished 13 Oct 2026, 06:47 UTC
Incorrect Authorization (CWE-863) in Elasticsearch can lead to Privilege Escalation via a delegated administrative privilege whose scope is not fully enforced during authorization checks. Elasticsearch contains an incorrect authorization weakness in a configurable, non-default privilege that lets an administrator delegate limited role-management capability to another user, scoped to specific indices. The authorization check that enforces this scoping does not correctly account for a role-definition setting that can expand the matched index set. A user holding this delegated privilege with a broadly-scoped index pattern can exploit this inconsistency by updating their own assigned role to gain access to indices that should remain restricted, including internal security data. This can enable further escalation up to full administrative control of the cluster.
osv:BIT-elasticsearch-2026-103007
elasticsearch
Fixed versions: 8.19.22, 9.4.7, 9.5.4
Complete source record
{
"id": "f56de12e9ba8bd12a049d8ce5b96362d9029d3f5c5721233606dcb86144bbdf9",
"url": "https://osv.dev/vulnerability/BIT-elasticsearch-2026-103007",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Incorrect Authorization in Elasticsearch Leading to Privilege Escalation",
"summary": "Incorrect Authorization (CWE-863) in Elasticsearch can lead to Privilege Escalation via a delegated administrative privilege whose scope is not fully enforced during authorization checks. Elasticsearch contains an incorrect authorization weakness in a configurable, non-default privilege that lets an administrator delegate limited role-management capability to another user, scoped to specific indices. The authorization check that enforces this scoping does not correctly account for a role-definition setting that can expand the matched index set. A user holding this delegated privilege with a broadly-scoped index pattern can exploit this inconsistency by updating their own assigned role to gain access to indices that should remain restricted, including internal security data. This can enable further escalation up to full administrative control of the cluster.",
"evidence": "osv:BIT-elasticsearch-2026-103007",
"products": [
{
"name": {
"value": "elasticsearch",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.19.22",
"evidence": "/affected/0/ranges"
},
{
"value": "9.4.7",
"evidence": "/affected/0/ranges"
},
{
"value": "9.5.4",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "BIT-elasticsearch-2026-103007",
"aliases": [
"BIT-elasticsearch-2026-103007",
"CVE-2026-103007"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.16.0"
},
{
"fixed": "8.19.22"
},
{
"introduced": "9.0.0"
},
{
"fixed": "9.4.7"
},
{
"introduced": "9.5.0"
},
{
"fixed": "9.5.4"
}
]
}
],
"package": {
"name": "elasticsearch",
"purl": "pkg:bitnami/elasticsearch",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/elasticsearch/BIT-elasticsearch-2026-103007.json"
}
}
],
"modified": "2026-10-14T11:00:05.549202670Z",
"provider": "osv",
"references": [
"https://discuss.elastic.co/t/elasticsearch-8-19-22-9-4-7-9-5-4-security-update-esa-2026-197/390871",
"https://nvd.nist.gov/vuln/detail/CVE-2026-103007"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:maven:*:*"
],
"severity": "High"
}
},
"related_cves": [
{
"value": "CVE-2026-103007",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 316152,
"published_at": "2026-10-13T06:47:23.436+00:00"
}