OpenMetadata
CVE-2026-22244
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credentials via phishing or reuse
-
DeliveryAuthenticate to OpenMetadata REST API
-
ExploitPATCH docStore email template with FreeMarker SSTI payload
-
ExecutionTrigger email notification event (password reset, invite, or test)
-
PersistFreeMarker renders template without class-resolver sandbox
-
ImpactExecute arbitrary OS commands as service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Exploitation requires a valid OpenMetadata administrator-level JWT token or session; the CVSS PR:H metric confirms this. The attacker must be able to reach the REST API endpoint PATCH /api/v1/docStore/{templateId} over the network. Payload execution additionally requires that an email notification event be triggered - either by a system action (password change, user invitation, account activity) or, if SMTP is configured, via a test email. No non-default configuration is required beyond possession of an admin account. The primary factor limiting exploitation is the administrative credential requirement: an attacker without prior privileged access cannot exploit this vulnerability directly from an external position. Exploitation is further constrained to environments where the API is network-reachable from the attacker's position. |
| Impact | The CVSS 4.0 score of 8.5 with full C/I/A impact on both vulnerable and subsequent systems reflects the severity of unauthenticated-to-server RCE - but PR:H is the critical moderating factor: this flaw is only reachable with a valid administrator session token. The EPSS score of 0.46% at the 64th percentile is notably low given that a detailed public PoC exists, which typically elevates EPSS substantially; this divergence suggests exploitation has remained targeted and credential-gated rather than opportunistic. The CVSS 4.0 supplemental metric E:P (proof-of-concept exploit) aligns with the confirmed PoC from the GHSA advisory. The scope change to SC:H/SI:H/SA:H is well-founded: code execution under the OpenMetadata service account in a data governance platform can expose connection credentials, data lake access tokens, and downstream pipeline configurations. The absence of a CISA KEV listing as of this analysis means confirmed in-the-wild exploitation has not been established by a government authority. Overall, this is a high-severity finding for any organization where OpenMetadata administrator accounts could be compromised - but the admin-only prerequisite means it is not a perimeter-breach vector on its own. |
| Exploit ScenarioDerived | An attacker who has obtained valid OpenMetadata administrator credentials - through phishing, credential stuffing, or lateral movement - sends a crafted PATCH request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 31, 2026
Remote code execution in OpenMetadata versions 1.5.0 through 1.11.3 is achievable by an authenticated administrator via Server-Side Template Injection in the FreeMarker email templating engine. The platform stores administrator-supplied email template content in its database and renders it without sandboxing controls, allowing FreeMarker directives to instantiate arbitrary Java classes and execute OS commands server-side. A detailed public proof-of-concept from FPT Cloud AppSec Research Team is available; no active exploitation is confirmed in CISA KEV at time of analysis.
Earlier versions of this analysis (1)
OpenMetadata is a unified metadata platform. Versions prior to 1.11.4 are vulnerable to remote code execution via Server-Side Template Injection (SSTI) in FreeMarker email templates. [CVSS 7.2 HIGH]
RemediationAI
Upgrade to OpenMetadata version 1.11.4, which contains the vendor-released patch per GHSA-5f29-2333-h9c7. The fix commits are available at https://github.com/open-metadata/OpenMetadata/commit/bffe7c45807763f9b682021d4211c478d2a08bb3 and https://github.com/open-metadata/OpenMetadata/commit/d17d13cee87db139e5d8f778547174f8ee341108. If immediate upgrade is not feasible, restrict network access to the OpenMetadata API (particularly the PATCH /api/v1/docStore endpoint) to trusted administrative hosts only, and enforce multi-factor authentication for all administrator accounts to raise the bar for credential compromise. As a detection measure, audit the docStore database for existing email templates containing FreeMarker directives such as ?new(), freemarker.template.utility.Execute, or ?api - the presence of these strings indicates potential pre-exploitation. Disabling SMTP email functionality eliminates the trigger mechanism but has operational impact on notification workflows and does not remove the malicious template from the database.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenMetadata uses Apache FreeMarker to render email notification templates stored in a MySQL-backed document store. The vulnerable code in openmetadata-service/src/main/java/org/openmetadata/service/util/DefaultTemplateProvider.java instantiates Template objects by passing database-sourced content directly to new Template(name, new StringReader(content), new Configuration(VERSION_2_3_31)). This configuration omits three critical security controls: setNewBuiltinClassResolver(TemplateClassResolver.SAFER_RESOLVER) - which would prevent arbitrary class instantiation - setAPIBuiltinEnabled(false) - which blocks FreeMarker's ?api reflection built-in - and any input sanitization. CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) describes this root cause precisely: untrusted data is interpreted as template directives rather than literal content. The affected Maven artifact is org.open-metadata:platform, CPE cpe:2.3:a:open-metadata:openmetadata:*:*:*:*:*:*:*:*, versions >= 1.5.0 and < 1.11.4.
Know when Openmetadata 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Administrator credentials required (PR:H); network API access (AV:N); scope change (S:C) reflects OS-level code execution affecting the full host and downstream credential stores.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
4DescriptionCVE.org
OpenMetadata is a unified metadata platform. Versions prior to 1.11.4 are vulnerable to remote code execution via Server-Side Template Injection (SSTI) in FreeMarker email templates. An attacker must have administrative privileges to exploit the vulnerability. Version 1.11.4 contains a patch.
Executive ViewAI
OpenMetadata deployments running versions 1.5.0 through 1.11.3 face remote code execution risk through a flaw in email template handling that affects administrators with access to template configuration. While an exploit proof-of-concept is publicly available, there are no confirmed widespread attacks at this time, creating a window for proactive remediation. Organizations must prioritize patching to prevent attackers from leveraging compromised administrative credentials to access production infrastructure and sensitive data.
Apply vendor patch.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
More in Openmetadata
View allOpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository
OpenMetadata versions prior to 1.11.8 expose JWT tokens for the privileged ingestion-bot account through the /api/v1/ing
OpenMetadata <=1.4.1 is vulnerable to SQL Injection. Rated high severity (CVSS 7.1), this vulnerability is remotely expl
Blind server-side request forgery in OpenMetadata through 2.0.2 allows an authenticated user holding permission to creat
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository
JWT token disclosure in OpenMetadata's SAML and OIDC/OAuth2 authentication flows enables account takeover by exploiting
OpenMetadata <=1.4.4 is vulnerable to SQL Injection. Rated medium severity (CVSS 6.5), this vulnerability is remotely ex
OpenMetadata <=1.4.4 is vulnerable to SQL Injection. Rated medium severity (CVSS 6.5), this vulnerability is remotely ex
OpenMetadata <=1.4.4 is vulnerable to SQL Injection. Rated high severity (CVSS 7.1), this vulnerability is remotely expl
GHSA-5f29-2333-h9c7
NVD
CVE.org
EPSS
VulDB
Exploit-DB