Skip to main content
EPSS 0.5%top 56%

CVE-2026-72676: CWE-94 Improper Control of Generation of Code ('Code Injection') in Elastic Fleet Server

0
Medium
VulnerabilityCVE-2026-72676cvecve-2026-72676cwe-94
Published: 08/13/2026 (08/13/2026, 19:11:26 UTC)
Source: CVE Database V5
Vendor/Project: Elastic
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Affected software

Elastic

Fleet Server

Affected versions
>=8.5.0 <=8.19.19>=9.0.0 <=9.4.4=9.5.0
GitHub Actionsmore threats →ai
elastic/fleet-server
pkg:github/elastic/fleet-server
Affected versions
=8.5.0=9.0.0=9.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 19:43:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses