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

CVE-2026-72676 affects 123 listed versions of Elastic Kibana in the Dawnsentry catalogue.

9.1CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
13 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Elastic Kibana

123 of 250 listed versions are affected. Fixed in 9.4.5, 8.19.20. The newest release, 9.5.7, is not affected.

9.5.0 9.4.4 9.4.3 9.4.2 9.4.1 9.4.0 9.3.8 9.3.7 9.3.6 9.3.5 9.3.4 9.3.3 9.3.2 9.3.1 9.3.0 9.2.8 9.2.7 9.2.6 9.2.5 9.2.4 9.2.3 9.2.2 9.2.1 9.2.0 9.1.10 9.1.9 9.1.8 9.1.7 9.1.6 9.1.5 9.1.4 9.1.3 9.1.2 9.1.1 9.1.0 9.0.8 9.0.7 9.0.6 9.0.5 9.0.4 9.0.3 9.0.2 9.0.1 9.0.0 8.19.19 8.19.18 8.19.17 8.19.16 8.19.15 8.19.14 8.19.13 8.19.12 8.18.9 8.18.8 8.18.7 8.18.6 8.18.5 8.18.4 8.18.3 8.18.2 and 63 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD)

Published by Elastic on 13 August 2026. Last changed 4 September 2026.

Sources

Check one version you run: look CVE-2026-72676 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.