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

- Severity: Medium 6.5 (CVSS:3.1, scored by elastic) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-08-13T19:11:26.091Z
- Modified: 2026-09-04T20:21:02.873Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: elastic

## 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.

(As written by CVE List.)

## Affected

- Elastic Fleet Server: from 8.5.0 up to 8.19.19; from 9.0.0 up to 9.4.4; 9.5.0
- elastic kibana: from 8.5.0 before 8.19.20; from 9.0.0 before 9.4.5; 9.5.0

## Every score

- elastic: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://discuss.elastic.co/t/fleet-server-8-19-20-9-4-5-9-5-1-security-update-esa-2026-93/389510> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-72676](https://www.cve.org/CVERecord?id=CVE-2026-72676), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-72676](https://nvd.nist.gov/vuln/detail/CVE-2026-72676), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-72676 · Whole record: https://cve.day/CVE-2026-72676.json · Rebuilt by cve.day 2026-11-25T22:59:32.851Z
