CVE-2026-72676: CWE-94 Improper Control of Generation of Code ('Code Injection') in Elastic Fleet Server
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.
AI Analysis
Technical Summary
This vulnerability (CWE-94) in Elastic Fleet Server arises because Kibana accepts an identifier for output configuration without sanitizing or restricting it to safe characters. The identifier is then incorporated into a server-side script built by Fleet Server as part of routine agent policy processing. As a result, script syntax embedded in the identifier is executed as code rather than treated as data, enabling code injection attacks. The affected versions explicitly include 8.5.0, 9.0.0, and 9.5.0. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker with high privileges to execute arbitrary code on the Fleet Server by injecting malicious script content. This can lead to a complete compromise of confidentiality and integrity of the affected system. Availability impact is not indicated. The vulnerability requires network access and high privileges, with no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or temporary workaround is provided, users should monitor Elastic's advisories for updates. Restricting access to Fleet Server and limiting privileges may reduce risk until a patch is available.
CVE-2026-72676: CWE-94 Improper Control of Generation of Code ('Code Injection') in Elastic Fleet Server
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.
CVSS v3.1
Score 6.5medium
Affected software
Elastic
Fleet Server
pkg:github/elastic/fleet-serverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-94) in Elastic Fleet Server arises because Kibana accepts an identifier for output configuration without sanitizing or restricting it to safe characters. The identifier is then incorporated into a server-side script built by Fleet Server as part of routine agent policy processing. As a result, script syntax embedded in the identifier is executed as code rather than treated as data, enabling code injection attacks. The affected versions explicitly include 8.5.0, 9.0.0, and 9.5.0. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker with high privileges to execute arbitrary code on the Fleet Server by injecting malicious script content. This can lead to a complete compromise of confidentiality and integrity of the affected system. Availability impact is not indicated. The vulnerability requires network access and high privileges, with no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or temporary workaround is provided, users should monitor Elastic's advisories for updates. Restricting access to Fleet Server and limiting privileges may reduce risk until a patch is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- elastic
- Date Reserved
- 2026-08-10T11:17:49.704Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e1a85bf8831d539b1840d
Added to database: 08/13/2026, 19:27:01 UTC
Last enriched: 08/13/2026, 19:43:46 UTC
Last updated: 09/26/2026, 01:47:44 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.