CVE-2026-78604

Incorrect Permission Assignment for Critical Resource in Elastic Agent Leading to Local Privilege Escalation to SYSTEM

Published Sep 2, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Elastic Agent incorrectly assigns permissions to critical resources, exposing a local privilege escalation path that can elevate a user to SYSTEM. The flaw stems from overly permissive access controls applied to binaries and service resources when the agent runs in unprivileged mode on Windows. An attacker who owns an account on the host can replace or modify the agent’s executable binaries, leading the service to run malicious code and gaining full system privileges.

Affected Systems

The vulnerability affects Elastic Agent installations on Windows platforms that are configured to operate in unprivileged mode. The flaw exists regardless of the specific agent version, since the issue lies in the default permission configuration during resource creation. No specific product version range is listed.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity, and although a precise EPSS value is not available, the potential for exploitation remains significant due to the local user’s ability to manipulate files normally protected by service permissions. The exploit utilizes the Replace Binaries weakness (CAPEC-642), requiring only local access; no network exposure is needed. The vulnerability is not yet listed in CISA’s KEV catalog, but its impact on Windows systems warrants immediate remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Elastic Agent security update that addresses permission assignment for critical resources
  • If applying a patch is not yet possible, configure Elastic Agent to run with the minimal privileges required, ensuring the service account has no rights to modify its own binaries
  • Audit and restrict file permissions on all agent-related binaries and configuration files to prevent unauthorized replacements

Generated by OpenCVE AI on September 3, 2026 at 09:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Elastic
Elastic elastic Agent
Vendors & Products Elastic
Elastic elastic Agent
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Incorrect Permission Assignment for Critical Resource in Elastic Agent Leading to Local Privilege Escalation to SYSTEM
Weaknesses CWE-732
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

Status
PUBLISHED
Assigner
elastic
Published
Updated
Sep 3, 2026, 3:56 AM
Reserved
Aug 24, 2026, 9:13 PM
Status
Analyzed
Published
Sep 2, 2026, 3:17 PM
Modified
Sep 4, 2026, 4:44 PM