Improper Control of Generation of Code in Fleet Server Leading to Code Injection (Elastic Fleet Server)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.55 % Β· percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- elastic
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-94 β Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | elastic |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | NVD Β· security@elastic.co (Secondary) |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2026-58263
- GCVE Β· GCVE-0-2026-72676
Affected configurations (NVD CPE)
cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*β₯ 8.5.0 < 8.19.20cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*β₯ 9.0.0 < 9.4.5cpe:2.3:a:elastic:kibana:9.5.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Elastic Β· Fleet Server | affected 8.5.0 β€ 8.19.19 ; affected 9.0.0 β€ 9.4.4 ; affected 9.5.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |