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.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Elasticsearch / Kibana and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. sudo systemctl restart elasticsearch (rolling restart node by node in clusters); sudo systemctl restart kibana

Affected and fixed versions

Affected:

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 / kibana
Ubuntu
not in distro repos: artifacts.elastic.co, elasticsearch / kibana
RHEL, AlmaLinux, Rocky, Oracle
not in distro repos: artifacts.elastic.co, elasticsearch / kibana
Fedora
not packaged
SUSE / openSUSE
not in distro repos: artifacts.elastic.co, elasticsearch / kibana
Amazon Linux
not in distro repos: artifacts.elastic.co
Arch Linux
not in official repos
Alpine
not packaged
FreeBSD
pkg update && pkg upgrade elasticsearch8

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.