CVE-2026-72676: Improper Control of Generation of Code in Fleet Server Leading to Code Injection
Critical 9.1 EPSS 0.5% Elasticsearch / Kibana
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.
- CVE-2026-72676CVE identifier
- 9.1CVSS 3.1 base score (critical)
- 0.5%EPSS: chance of exploitation in the next 30 days (higher than 46% of CVEs)
- 2026-08-13published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run Elasticsearch / Kibana and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- sudo systemctl restart elasticsearch (rolling restart node by node in clusters); sudo systemctl restart kibana
Affected and fixed versions
Affected:
- Elastic Fleet Server 8.5.0 to 8.19.19
- Elastic Fleet Server 9.0.0 to 9.4.4
- Elastic Fleet Server 9.5.0
Patch it
Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.
Debian
not in distro repos: artifacts.elastic.co, elasticsearch / kibanaUbuntu
not in distro repos: artifacts.elastic.co, elasticsearch / kibanaRHEL, AlmaLinux, Rocky, Oracle
not in distro repos: artifacts.elastic.co, elasticsearch / kibanaFedora
not packagedSUSE / openSUSE
not in distro repos: artifacts.elastic.co, elasticsearch / kibanaAmazon Linux
not in distro repos: artifacts.elastic.coArch Linux
not in official reposAlpine
not packagedFreeBSD
pkg update && pkg upgrade elasticsearch8General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.
Sources
- https://discuss.elastic.co/t/fleet-server-8-19-20-9-4-5-9-5-1-security-update-esa-2026-93/389510
- CVE-2026-72676 on CVE.org
- CVE-2026-72676 on NVD
Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.