6.5Medium

CVE-2026-72676Improper Control of Generation of Code in Fleet Server Leading to Code Injection

Elastic Fleet Server Published: (3 months ago)

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Elastic Fleet Server 8.5.0 – ≤ 8.19.19, 9.0.0 – ≤ 9.4.4, 9.5.0
elastic kibana 8.5.0 – < 8.19.20

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:* ≥ 8.5.0 < 8.19.20
  • cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:* ≥ 9.0.0 < 9.4.5
  • cpe:2.3:a:elastic:kibana:9.5.0:*:*:*:*:*:*:*