Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Kibana with low-privilege realm-A account
-
DeliveryIdentify target agent owned by same-username victim in realm-B
-
ExploitIssue Agent Builder ownership-check request
-
ExecutionFallback username comparison grants false ownership
-
PersistExfiltrate private agent configuration and instructions
-
ImpactOptionally modify or delete victim's agent
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the target Kibana deployment must be configured with two or more Elasticsearch authentication realms (e.g., a native realm and an LDAP/Active Directory realm operating simultaneously); (2) the attacker and victim must share an identical username string in their respective realms; (3) the attacker must hold a valid low-privilege authenticated session in Kibana (PR:L per CVSS vector). Exploitation is limited to the Kibana Agent Builder feature - it does not affect other Kibana capabilities or Elasticsearch data. Single-realm deployments are not affected. The fallback to username comparison also requires that no stable user identifier was recorded for the target agent, which may occur depending on how the agent was originally created or how realm metadata is captured. No user interaction from the victim is required once the realm overlap condition exists. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) scores 7.1, indicating a high-severity, network-reachable flaw requiring only low-privilege authentication with no user interaction or special complexity from the attacker's perspective. However, the real-world exploitability is bounded by a specific deployment condition: the Elasticsearch cluster must be configured with multiple authentication realms AND two distinct principals must share the same username string across those realms. In large enterprises using LDAP/AD realms alongside native Kibana realms this scenario is plausible and not uncommon, making this more than a theoretical concern. EPSS data is not available in the provided intelligence; no CISA KEV listing confirms active exploitation. The SSVC signals suggest: exploitation not confirmed in the wild, attack is not fully automatable without the realm overlap precondition, and technical impact is partial - confidentiality of agent instructions is fully compromised (C:H) but system integrity impact is limited to the Agent Builder resource (I:L). The gap between C:H in CVSS and the bounded real-world risk due to the realm-overlap prerequisite is notable - defenders in single-realm deployments are not affected. |
| Exploit ScenarioDerived | An attacker who is a legitimate low-privilege Kibana user authenticated via an LDAP realm targets a victim user in the native Elasticsearch realm who happens to share the same username string. Because the victim's agent was created without recording a stable user identifier - or because the fallback path is triggered - the attacker sends a standard Kibana Agent Builder API request; the ownership check resolves the attacker's username as equivalent to the victim's, returning the victim's private agent configuration and instructions without error. No public exploit code has been identified, but the attack requires only standard authenticated HTTP requests to the Kibana API. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Incorrect authorization in Kibana Agent Builder allows authenticated users to access, modify, or delete private agents they do not own when sharing a username with another principal across different Elasticsearch authentication realms. The flaw stems from a fallback ownership check that compares usernames - which are not unique across realms - rather than stable user identifiers, enabling cross-realm identity confusion. No public exploit or active exploitation (CISA KEV) has been identified at time of analysis, but the low attack complexity and network accessibility make this a credible insider or multi-tenant threat.
RemediationAI
Upgrade Kibana to version 9.4.5 or 9.5.1 per Elastic security advisory ESA-2026-124 (https://discuss.elastic.co/t/kibana-9-4-5-9-5-1-security-update-esa-2026-124/389538). These are the patch versions identified in the advisory title; no earlier patched minor release has been confirmed. If immediate upgrade is not possible, a targeted compensating control is to audit and eliminate username collisions across all configured Elasticsearch authentication realms - ensuring no two principals in different realms share an identical username string removes the condition that triggers the fallback code path. This control has a trade-off: it may require coordinated username changes with identity providers (LDAP/AD) and could disrupt existing user mappings. A second workaround is to restrict Agent Builder usage to a single authentication realm by temporarily disabling multi-realm configurations, though this may impact SSO or identity federation workflows. Do not rely on access controls at the network perimeter alone, as any authenticated Kibana user in a multi-realm deployment can trigger this flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Kibana Agent Builder is a feature within Elastic's Kibana UI (CPE: cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*) that allows users to create and manage private AI agents with custom configurations and instructions. Elasticsearch supports multiple authentication realms simultaneously - for example, a native realm alongside an LDAP or Active Directory realm - and a 'username' string is only unique within a single realm, not globally across the stack. The Agent Builder's ownership check uses a stable user identifier (such as a realm-scoped principal UID) as the primary comparator, but silently falls back to a plain username string comparison when no stable identifier is recorded. This fallback is the vulnerable code path: CWE-863 (Incorrect Authorization) describes exactly this pattern, where an authorization decision is made using an insufficiently precise principal identity. An attacker in Realm A whose username matches a victim in Realm B can exploit the fallback path to be incorrectly treated as the same owner.
Know when Kibana gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Network-reachable via Kibana API, low complexity once realm overlap exists, low-privilege authenticated session required, high confidentiality impact on agent config, low integrity impact from modification or deletion.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
Kibana Agent Builder determines whether a caller owns a private agent by comparing a stable user identifier when one is recorded, and falling back to a comparison of the username when it is not. A username is not unique across Elasticsearch authentication realms, so two distinct principals that share a username in different realms are treated as the same owner. This discloses the configuration and instructions of an agent the caller does not own, and allows that agent to be altered or removed.
Executive ViewAI
Kibana Agent Builder's authorization flaw exposes organizations using federated authentication to unauthorized workflow access-an attacker with valid credentials can modify or delete automation owned by users sharing their username across different authentication realms. While no public exploit has been identified at time of analysis, the low attack complexity and network accessibility create material insider threat risk in multi-tenant environments. No vendor patch exists, requiring immediate compensating controls.
Enforce globally unique usernames across all Elasticsearch authentication realms; restrict Agent Builder access via network segmentation or RBAC to essential personnel only; enable comprehensive audit logging of all agent-related operations with real-time alerting for unauthorized modifications; implement additional ownership verification mechanisms independent of username matching; segregate or disable less critical authentication realms if operationally feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
Authorization bypass in Kibana's Fleet package installation process lets an authenticated user who holds delegated Fleet
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
EUVD-2026-58288
GHSA-m5pm-2p35-xvpr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB