Elastic Cloud Enterprise
CVE-2025-37729
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain ECE Admin access
-
ExploitSubmit crafted Jinjava template string
-
ExecutionExpressions evaluated server-side (SSTI)
-
ImpactExecute commands / exfiltrate sensitive data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Exploitation requires authenticated Administrator access to Elastic Cloud Enterprise (CVSS PR:H) - the description explicitly states 'a malicious actor with Admin access.' The concrete technical prerequisite is the ability to submit a string into an ECE field that is processed by the Jinjava template engine without neutralization of template special elements, so the attacker's input is evaluated as a Jinjava expression. The primary limiting factors are: (1) the attacker must already hold ECE admin privileges, and (2) the instance must run a version prior to the fixed builds ECE 3.8.2 / 4.0.2. No user interaction is required (UI:N) and the vector is network-reachable (AV:N), but the admin requirement means there is no unauthenticated or low-privilege path. |
| Impact | This is a server-side template injection (SSTI, CWE-1336) in Elastic Cloud Enterprise's use of the Jinjava template engine, scored 7.2 (High) by Elastic with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The single most important mitigating signal is PR:H: the vulnerability is explicitly reachable only by 'a malicious actor with Admin access,' which drastically narrows the realistic threat population to insiders or attackers who have already compromised an administrator credential/session. Given full admin access to an orchestration platform like ECE, the incremental value of an SSTI primitive is high (it converts a configuration-level privilege into code/command execution and data exfiltration) but the precondition means this is not a mass-exploitable, internet-facing flaw. No EPSS score, CISA KEV listing, POC, or SSVC decision data was provided in the input, so there is no evidence of active exploitation or automatable mass exploitation - consistent with an admin-gated, environment-specific issue rather than a wormable one. Net: a legitimately High-severity defense-in-depth/privilege-escalation issue that should be patched on normal priority, but not an emergency drop-everything item absent any exploitation signal. Note the apparent tension between AV:N (network) and the admin-only requirement - exploitation is network-reachable but authenticated as Admin, so it is best read as a post-authentication capability rather than a remote-unauthenticated breach. |
| Exploit ScenarioDerived | An attacker who has obtained Elastic Cloud Enterprise administrator access (malicious insider, or an outsider who phished/stole admin credentials) supplies a specially crafted string into a field that ECE passes to the Jinjava template engine. Because template special characters are not neutralized, the embedded Jinjava expressions are evaluated server-side, letting the attacker read sensitive information and issue commands on the platform. No public exploit code was identified at time of analysis, and exploitation requires the attacker to already hold Admin privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Server-side template injection (SSTI) in Elastic Cloud Enterprise (ECE) allows an authenticated Administrator to execute arbitrary Jinjava expressions, leading to sensitive information disclosure and command execution. The vulnerability affects ECE versions prior to 3.8.2 and 4.0.2, and requires the attacker to already possess admin privileges; no public exploit code has been identified at time of analysis. Elastic has assigned a CVSS score of 7.2 (High) with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
RemediationAI
Upgrade to Elastic Cloud Enterprise (ECE) version 3.8.2 or 4.0.2, as released by Elastic. The advisory is available at https://discuss.elastic.co/t/elastic-cloud-enterprise-ece-3-8-2-and-4-0-2-security-update-esa-2025-21/382641. If immediate patching is not possible, restrict Administrator access to only fully trusted personnel and closely monitor for unusual Jinjava evaluation attempts in logs. Note that these compensating controls do not eliminate the vulnerability and should be used only as a temporary measure.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Elastic Cloud Enterprise (ECE) uses the Jinjava template engine, a Java implementation of Jinja2, to evaluate templates. The vulnerability arises from improper neutralization of special elements in user-supplied input that is processed as a Jinjava template (CWE-1336). An authenticated Administrator can inject Jinjava expressions into a field that is later evaluated, enabling the execution of arbitrary template logic. This could lead to exfiltration of sensitive data and issuance of commands with the privileges of the ECE service. The CVSS vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H indicates network exploitability, low attack complexity, but high privileges required, with no user interaction needed and high impact on confidentiality, integrity, and availability. Affected products are identified by CPE cpe:2.3:a:elastic:elastic_cloud_enterprise:*:*:*:*:*:*:*:*.
Know when Elastic Cloud Enterprise gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable admin-authenticated interface so AV:N/AC:L/PR:H/UI:N; SSTI yields command execution and data exfiltration on the host giving full C:H/I:H/A:H within an unchanged scope (S:U).
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Improper neutralization of special elements used in a template engine in Elastic Cloud Enterprise (ECE) can lead to a malicious actor with Admin access exfiltrating sensitive information and issuing commands via a specially crafted string where Jinjava variables are evaluated.
Executive ViewAI
Elastic Cloud Enterprise (ECE) carries a high-severity server-side template injection flaw that allows an attacker holding an existing ECE administrator account to run arbitrary code and reach sensitive data across the managed deployment platform, effectively moving from application-level control into the underlying host environment. Because the flaw requires pre-existing administrative access, the practical exposure is concentrated in insider abuse, compromised or over-provisioned admin credentials, and third-party administrators, rather than in opportunistic external attacks. Leadership should treat this as a high priority for any team operating ECE below version 3.8.2 or 4.0.2, given the breadth of data and infrastructure an ECE administrator can reach once this boundary is crossed.
No vendor-released patch identified at time of analysis. Interim mitigations: aggressively reduce and regularly recertify ECE administrator accounts under least privilege; require MFA and just-in-time elevation for all administrative access; restrict administrative interfaces to trusted networks, bastion hosts, or VPN ranges; enable and monitor audit logging for administrative and template-related activity with alerting on anomalous execution; segment ECE management infrastructure from general corporate networks; and engage Elastic support for interim guidance and remediation timelines for versions prior to 3.8.2 and 4.0.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
More in Elastic Cloud Enterprise
View allIt was identified that under certain specific preconditions, an API key that was originally created with a specific priv
Improper Authorization in Elastic Cloud Enterprise can lead to Privilege Escalation where the built-in readonly user can
An issue has been identified with how Elasticsearch handled incoming requests on the HTTP layer. Rated high severity (CV
Elastic Cloud Enterprise (ECE) versions prior to 1.1.4 contain an information exposure vulnerability. Rated high severit
A flaw was discovered in ECE before 3.4.0 that might lead to the disclosure of sensitive information such as user passwo
In Elastic Cloud Enterprise (ECE) versions prior to 1.1.4 a default master encryption key is used in the process of gran
A flaw was discovered in ECE before 3.1.1 that could lead to the disclosure of the SAML signing private key used for the
In Elastic Cloud Enterprise (ECE) versions prior to 1.1.4 it was discovered that a user could scale out allocators on ne
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB