Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user account on Windows host
-
DeliveryConfirm Elastic Agent installed in unprivileged mode
-
ExploitLocate service binary path with write permissions
-
ExecutionReplace binary with malicious executable
-
PersistTrigger service restart
-
ImpactExecute payload as SYSTEM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
|
| Exploitation Conditions | Exploitation requires two concrete prerequisites: (1) a valid local user account on the target Windows system with at minimum standard user privileges (PR:L per CVSS - no administrative rights needed), and (2) Elastic Agent must be installed in 'unprivileged mode' on Windows - this is the specific installation variant that causes the overly broad ACL creation. Privileged-mode Elastic Agent installations on Windows are not described as vulnerable. Linux and macOS deployments are explicitly excluded by the description's Windows-specific framing. No user interaction or network access is required (AV:L/UI:N). The low attack complexity (AC:L) means no timing attacks, race conditions, or advanced binary exploitation techniques are needed - simply identifying a writable path and placing a malicious file suffices. |
| Impact | The CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is well-calibrated: local access with low complexity and low privileges maps cleanly to the described attack path. Even a mid-sized municipal IT team in walbrzych running Elastic Agent across Windows endpoints in unprivileged mode should treat this as urgent, given that full SYSTEM access represents total host compromise. KEV status is absent from the provided data, and no EPSS score was supplied, so exploitation urgency cannot be quantified probabilistically. No public exploit code has been identified. The real-world risk is constrained by two conditions: the target must be Windows, and Elastic Agent must be installed in unprivileged mode specifically - organizations using privileged-mode installations or non-Windows deployments are not described as affected. In environments where Elastic Agent is deployed at scale for endpoint detection and response (EDR), this vulnerability could serve as a critical post-initial-access privilege escalation step. |
| Exploit ScenarioDerived | An attacker who has compromised a standard local user account on a Windows host - for example, via phishing or lateral movement - discovers that Elastic Agent is installed in unprivileged mode and that the installation directory grants write access to authenticated local users. The attacker replaces the Elastic Agent service binary or a DLL dependency with a malicious payload, then waits for the next scheduled service restart or manually triggers one through a benign means (e.g., system reboot), causing the SYSTEM-privileged service to execute the attacker's code and granting full SYSTEM-level control. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 02, 2026
Local privilege escalation in Elastic Agent on Windows enables a low-privileged local user to achieve SYSTEM-level code execution by exploiting overly permissive access controls (CWE-732) on resources created during unprivileged-mode installation. The agent service, running as SYSTEM, will execute attacker-controlled binaries placed via the CAPEC-642 binary replacement technique. Vendor-released patches 8.19.21, 9.4.6, and 9.5.2 are available per advisory ESA-2026-150; no public exploit identified at time of analysis.
RemediationAI
Upgrade Elastic Agent to version 8.19.21 (8.x branch), 9.4.6 (9.4.x branch), or 9.5.2 (9.5.x branch) per vendor advisory ESA-2026-150 (https://discuss.elastic.co/t/elastic-agent-8-19-21-9-4-6-9-5-2-security-update-esa-2026-150/390109). Where immediate patching is not possible, apply compensating controls in the following priority order: first, audit and harden filesystem ACLs on the Elastic Agent installation directory and all subdirectories to restrict write access exclusively to SYSTEM and local Administrators - use icacls or Group Policy to enforce this. Second, consider switching to privileged-mode installation if operationally feasible, as the vulnerability is specific to unprivileged-mode deployments; note that privileged mode carries its own elevated attack surface trade-offs. Third, monitor for unexpected file modifications in the Elastic Agent installation path using endpoint security tooling as a detection compensating control.
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
Elastic Agent is the unified data collection and management component of the Elastic Stack (ELK), deployed on endpoints for observability and security monitoring. CWE-732 (Incorrect Permission Assignment for Critical Resource) describes a root-cause class where filesystem ACLs on service binaries or working directories are set too broadly, allowing unprivileged users to write to paths that the privileged service will later load or execute. CAPEC-642 (Replace Binaries) is the exploitation technique: once write access to a service binary path is confirmed, the attacker replaces it with a malicious payload executed under the service's token - here, SYSTEM. The CPE cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:* reflects that the wildcard version range spans all Elastic Agent releases. The vulnerability manifests specifically on Windows due to how Windows ACL inheritance and service path resolution interact with Elastic Agent's unprivileged installation mode.
Know when Elastic Agent 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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local access with a standard user account suffices; no complexity beyond locating a writable path; SYSTEM execution grants full confidentiality, integrity, and availability impact.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
Incorrect Permission Assignment for Critical Resource (CWE-732) in Elastic Agent can lead to local privilege escalation via Replace Binaries (CAPEC-642). On Windows systems where Elastic Agent is installed in unprivileged mode, resources used by the agent service are created with access controls broader than required. A local user could take advantage of this to cause the service to execute code of their choosing, ultimately obtaining SYSTEM-level privileges on the host.
Executive ViewAI
Elastic Agent for Windows contains a local privilege escalation vulnerability that allows low-privileged users to execute code with SYSTEM privileges, enabling attackers with local access to take complete control of monitored endpoints. Organizations relying on Elastic Agent for threat detection and endpoint security risk having compromised machines weaponized for lateral movement, data exfiltration, and persistence. Patching is critical to restore security posture and prevent endpoint-to-infrastructure compromise chains.
Apply vendor patch.
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in Elastic Agent
View allIt was discovered that when acting as TLS clients, Beats, Elastic Agent, APM Server, and Fleet Server did not verify whe
An issue was discovered whereby Elastic Agent will leak secrets from the agent policy elastic-agent.yml only when the lo
An issue was discovered by Elastic whereby Elastic Agent would log a raw event in its own logs at the WARN or ERROR leve
Exposure of sensitive information to local unauthorized actors in Elastic Agent and Elastic Security Endpoint can lead t
Inclusion of functionality from an untrusted control sphere in Elastic Agent subprocess, osqueryd, allows local attacker
EUVD-2026-70057
GHSA-49f3-27rf-qcff
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB