Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-72676 EUVD-2026-58263GHSA-hfcx-p43w-9wvx

Improper Control of Generation of Code in Fleet Server Leading to Code Injection

Published Aug 13, 2026 · Updated Aug 13, 2026 · Assigned by elastic

Description

Improper Control of Generation of Code ('Code Injection') (CWE-94) in Fleet Server can lead to the execution of attacker-supplied script content via Code Injection (CAPEC-242). Kibana accepted an identifier for an output configuration without restricting it to safe characters. That identifier is later placed into a server-side script that Fleet Server builds as part of routine agent policy processing, so script syntax embedded in the identifier became part of the script that was executed rather than being treated as data.

Affected products

VendorProductAffectedFixed
Elastic Fleet Server 8.5.0 – ≤ 8.19.19, 9.0.0 – ≤ 9.4.4, 9.5.0 —

References