Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Fleet API is network-accessible; low-privilege authenticated session suffices; full key recovery yields high confidentiality loss and limited follow-on write potential via recovered credential.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
Lifecycle Timeline
2DescriptionCVE.org
Observable Discrepancy (CWE-203) in Kibana Fleet can lead to information disclosure via Excavation (CAPEC-116). Fleet removes the Elasticsearch API key value of an enrolled Elastic Agent from the responses of its agent listing capability, but that capability accepted caller-supplied filter expressions over the stored field that holds the value, and evaluated them with Kibana's own internal Elasticsearch privileges rather than the caller's. Because the number of matching agents is reported back to the caller, the difference between a matching and a non-matching filter formed a side channel from which the full API key value could be reconstructed one character at a time with a short sequence of requests.
AnalysisAI
Elasticsearch API key leakage in Kibana Fleet exposes enrolled agent credentials to any low-privileged authenticated user through a filter-based side channel. Fleet's agent listing endpoint accepts caller-supplied filter expressions evaluated under Kibana's own elevated internal Elasticsearch privileges rather than the caller's, and the match count in each response functions as a boolean oracle, enabling character-by-character reconstruction of the full API key value across all Kibana versions prior to 8.19.20, 9.4.5, and 9.5.1. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog at time of analysis, but the CVSS 7.1 (C:H) rating reflects the severity of full credential exfiltration via an authenticated, network-reachable, low-complexity attack.
Technical ContextAI
Kibana Fleet (CPE: cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*) is the agent management plane within the Elastic Stack, responsible for enrolling, configuring, and monitoring Elastic Agents. Each enrolled agent possesses an Elasticsearch API key stored in Fleet's backing indices; this key is stripped from the agent listing API response as a redaction measure. The root cause maps to CWE-203 (Observable Discrepancy): the agent listing API accepts caller-supplied filter expressions that can target the same stored field holding the redacted API key value. Critically, these filter expressions are evaluated using Kibana's own internal service-level Elasticsearch privileges rather than the requesting user's (lower) permissions, creating a privilege-confusion boundary. Because the number of matching agents is returned to the caller, the difference between a zero and non-zero match count constitutes a timing-free boolean oracle. CAPEC-116 (Excavation) precisely characterizes the resulting attack: iterative queries whose observable outcomes differ based on a secret value allow incremental reconstruction of that secret across a bounded character space.
RemediationAI
Upgrade Kibana to version 8.19.20, 9.4.5, or 9.5.1, as documented in Elastic security advisory ESA-2026-129 at https://discuss.elastic.co/t/kibana-8-19-20-9-4-5-9-5-1-security-update-esa-2026-129/389532; select the patch release matching your current major-minor branch. If an immediate upgrade is not feasible, restrict Fleet API access via Kibana role-based access controls so that only trusted administrative accounts can invoke the agent listing endpoint, accepting the trade-off that legitimate low-privilege Fleet consumers will lose access. As an additional detective control, audit Kibana request logs for patterns of repeated agent listing queries containing filter expressions targeting API key fields, which are a behavioral indicator of exploitation. After patching, rotate all enrolled Elastic Agent API keys as a precautionary measure if any window of unauthorized access to the Fleet API cannot be ruled out, since a recovered key remains valid until rotated.
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execution flaw in the Timelion visualizer. Rated criti
Kibana versions 6.7.0 to 6.8.8 and 7.0.0 to 7.6.2 contain a prototype pollution flaw in the Upgrade Assistant. Rated hig
Kibana versions before 6.4.3 and 5.6.13 contain an arbitrary file inclusion flaw in the Console plugin. Rated critical s
Prototype pollution in Kibana leads to arbitrary code execution via a crafted file upload and specifically crafted HTTP
Kibana versions 4.0 to 4.6, 5.0 to 5.6.12, and 6.0 to 6.4.2 contain an error in the way authorization credentials are us
A Prototype pollution vulnerability in Kibana leads to arbitrary code execution via crafted HTTP requests to machine lea
Kibana versions before 6.6.1 contain an arbitrary code execution flaw in the security audit logger. Rated critical sever
Prototype Pollution in Kibana can lead to code injection via unrestricted file upload combined with path traversal. Rate
Privilege escalation in Elastic Kibana's Agent Builder component (versions 9.4.0-9.4.3) allows authenticated low-privile
A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document con
Kibana version 8.7.0 contains an arbitrary code execution flaw. Rated high severity (CVSS 8.8), this vulnerability is re
Kibana versions 8.0.0 through 8.7.0 contain an arbitrary code execution flaw. Rated high severity (CVSS 8.8), this vulne
Same weakness CWE-203 – Observable Discrepancy
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58221
GHSA-hm4v-vwxq-29j4