Skip to main content

OpenMetadata CVE-2026-22244

HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-01-08 security-advisories@github.com GHSA-5f29-2333-h9c7
8.5
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Compromise admin credentials via phishing or reuse
  2. Delivery
    Authenticate to OpenMetadata REST API
  3. Exploit
    PATCH docStore email template with FreeMarker SSTI payload
  4. Execution
    Trigger email notification event (password reset, invite, or test)
  5. Persist
    FreeMarker renders template without class-resolver sandbox
  6. Impact
    Execute 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 /api/v1/docStore/{templateId} replacing an email template body with the FreeMarker payload <#assign ex="freemarker.template.utility.Execute"?new()>${ex("id")}. The payload is persisted to the MySQL docStore, and when any subsequent email notification (password reset, user invitation, or a manually triggered test email) fires, FreeMarker renders the template and executes the OS command as the OpenMetadata service account. A full working PoC is publicly documented in GHSA-5f29-2333-h9c7.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 12, 2026 - 21:54 CVSS 7.2

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

maven org.open-metadata:platform fix: 1.11.4

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

Vendor (github) PRIMARY 8.5 HIGH
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
vuln.today AI 9.1 CRITICAL

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/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:H/SI:H/SA:H

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 31, 2026 - 23:22 NVD
7.2 (HIGH) 8.5 (HIGH)
PoC Detected
Jan 15, 2026 - 21:14 vuln.today
Public exploit code
Patch released
Jan 15, 2026 - 21:14 nvd
Patch available
CVE Published
Jan 08, 2026 - 16:16 nvd
HIGH 7.2

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 36% exploitable
Prevalence
Low
niche data governance platform, primarily internal enterprise deployments
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

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 Yes
EPSS 0.5%
Patch available Yes
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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:open-metadata:openmetadata:*:*:*:*:*:*:*:*
CVE-2024-28255 CRITICAL POC
9.8 Mar 15

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository

CVE-2024-28254 HIGH POC
8.8 Mar 15

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository

CVE-2024-28847 HIGH POC
8.8 Mar 15

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository

CVE-2024-28253 HIGH POC
8.8 Mar 15

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository

CVE-2026-26010 HIGH POC
7.6 Feb 11

OpenMetadata versions prior to 1.11.8 expose JWT tokens for the privileged ingestion-bot account through the /api/v1/ing

CVE-2024-55238 HIGH POC
7.1 Apr 17

OpenMetadata <=1.4.1 is vulnerable to SQL Injection. Rated high severity (CVSS 7.1), this vulnerability is remotely expl

CVE-2026-100373 MEDIUM POC
5.1 Sep 25

Blind server-side request forgery in OpenMetadata through 2.0.2 allows an authenticated user holding permission to creat

CVE-2024-28848 HIGH
8.8 Mar 15

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository

CVE-2026-81029 HIGH
8.5 Aug 26

JWT token disclosure in OpenMetadata's SAML and OIDC/OAuth2 authentication flows enables account takeover by exploiting

CVE-2025-50468 MEDIUM POC
6.5 Aug 08

OpenMetadata <=1.4.4 is vulnerable to SQL Injection. Rated medium severity (CVSS 6.5), this vulnerability is remotely ex

CVE-2025-50467 MEDIUM
6.5 Aug 08

OpenMetadata <=1.4.4 is vulnerable to SQL Injection. Rated medium severity (CVSS 6.5), this vulnerability is remotely ex

CVE-2025-50466 HIGH POC
7.1 Aug 08

OpenMetadata <=1.4.4 is vulnerable to SQL Injection. Rated high severity (CVSS 7.1), this vulnerability is remotely expl

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