High · published September 2, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| elastic/elastic_agent | ≥ 8.0.0, < 8.19.21 | 8.19.21 |
| elastic/elastic_agent | ≥ 9.0.0, < 9.4.6 | 9.4.6 |
| elastic/elastic_agent | ≥ 9.5.0, < 9.5.2 | 9.5.2 |