{"id":"CVE-2026-78604","summary":"Incorrect Permission Assignment for Critical Resource in Elastic Agent Leading to Local Privilege Escalation to SYSTEM","details":"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.","modified":"2026-09-07T11:45:14.141199694Z","published":"2026-09-02T14:43:11.344Z","database_specific":{"cna_assigner":"elastic","cwe_ids":["CWE-732"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78604.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"8.0.0"},{"last_affected":"8.19.20"},{"introduced":"9.0.0"},{"last_affected":"9.4.5"},{"introduced":"9.5.0"},{"last_affected":"9.5.1"}]}]},"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-agent-8-19-21-9-4-6-9-5-2-security-update-esa-2026-150/390109"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78604.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78604"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elastic-agent","events":[{"introduced":"0"},{"fixed":"8d71fbe66d560a0f921a70afa0d0299ff8ddebf6"},{"introduced":"9786ac7df1b9a78fb3fdab059148274404dba926"},{"fixed":"e4298a05ff4d939fb1791c4974e0b0fe46039de7"},{"introduced":"361f37ea5bb2523bc389359ae587e099beca9c20"},{"fixed":"abae0c4393b11bd6d50e37e935ea4125ff2baae0"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.0.0"},{"fixed":"8.19.21"},{"introduced":"9.0.0"},{"fixed":"9.4.6"},{"introduced":"9.5.0"},{"fixed":"9.5.2"}],"source":"CPE_RANGE"}}],"versions":["v9.5.1","v8.19.20","v9.4.5","v9.5.0","v8.19.19","v9.4.4","v8.19.18","v9.4.3","v8.19.17","v8.19.16","v9.4.2","v9.4.1","v9.4.0","v8.19.15","v8.19.14","v8.19.13","v8.19.12","v8.19.11","v8.19.10","v8.19.9","v8.19.8","v8.19.7","v8.19.6","v8.19.5","v8.19.4","v8.19.3","v8.19.2","v8.19.1","v8.19.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78604.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}