{
  "affected": [
    {
      "ranges": [
        {
          "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"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8d71fbe66d560a0f921a70afa0d0299ff8ddebf6"
            },
            {
              "introduced": "9786ac7df1b9a78fb3fdab059148274404dba926"
            },
            {
              "fixed": "e4298a05ff4d939fb1791c4974e0b0fe46039de7"
            },
            {
              "introduced": "361f37ea5bb2523bc389359ae587e099beca9c20"
            },
            {
              "fixed": "abae0c4393b11bd6d50e37e935ea4125ff2baae0"
            }
          ],
          "repo": "https://github.com/elastic/elastic-agent",
          "type": "GIT"
        }
      ]
    }
  ],
  "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": [
      {
        "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"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-78604",
  "modified": "2026-09-07T11:30:47.967842762Z",
  "published": "2026-09-02T14:43:11.344Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Incorrect Permission Assignment for Critical Resource in Elastic Agent Leading to Local Privilege Escalation to SYSTEM"
}