Skip to main content

Elastic Cloud Enterprise CVE-2025-37729

HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2025-10-13 security@elastic.co
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain ECE Admin access
  2. Exploit
    Submit crafted Jinjava template string
  3. Execution
    Expressions evaluated server-side (SSTI)
  4. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

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

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Low
niche on-prem enterprise orchestration platform, limited to large Elastic deployments
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:elastic:elastic_cloud_enterprise:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_cloud_enterprise:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy