# CVE-2026-22244: OpenMetadata Server-Side Template Injection (SSTI) in FreeMarker email templates that leads to RCE

> Administrative users can achieve remote code execution via Server-Side Template Injection in FreeMarker email templates within OpenMetadata.

- **Severity:** High 8.5 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 8 Jan 2026
- **Updated:** 31 Aug 2026
- **Also known as:** GHSA-5f29-2333-h9c7

## What is CVE-2026-22244?

CVE-2026-22244 is a high-severity code injection vulnerability in open-metadata OpenMetadata, published on 8 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

OpenMetadata is a unified metadata platform. Versions 1.5.0 through 1.11.3 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.

Weakness: CWE-94 (Improper Control of Generation of Code), CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine)

## Which versions are affected by CVE-2026-22244?

2 open source packages ship an affected version, including org.open-metadata:platform. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.open-metadata:platform` | Maven | From 1.5.0 | 1.11.4 |
| `org.open-metadata:platform` | Maven | From 1.5.0 | 1.11.4 |

Products: Open-Metadata Openmetadata.

## How do I fix CVE-2026-22244?

Upgrade org.open-metadata:platform to 1.11.4 or later.

## Is CVE-2026-22244 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22244 exists.

## Other vulnerabilities in open-metadata OpenMetadata

- [CVE-2024-28255](https://insights.sbomify.com/CVE-2024-28255/): Authentication Bypass in OpenMetadata (critical 9.8)
- [CVE-2024-28253](https://insights.sbomify.com/CVE-2024-28253/): SpEL Injection in `PUT /api/v1/policies` in OpenMetadata (critical 9.4)
- [CVE-2024-28254](https://insights.sbomify.com/CVE-2024-28254/): SpEL Injection in `GET /api/v1/events/subscriptions/validation/condition/<expr>` in OpenMetadata (high 8.8)
- [CVE-2024-28847](https://insights.sbomify.com/CVE-2024-28847/): SpEL Injection in `PUT /api/v1/events/subscriptions` in OpenMetadata (high 8.8)
- [CVE-2024-28848](https://insights.sbomify.com/CVE-2024-28848/): SpEL Injection in `GET /api/v1/policies/validation/condition/<expr>` in OpenMetadata (high 8.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-22244 and fix it if it is affected.

What it is: CVE-2026-22244 is a high-severity code injection vulnerability in open-metadata OpenMetadata, published on 8 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22244 exists.

Affected packages and fixed versions:
- org.open-metadata:platform (Maven): affected from 1.5.0; fixed in 1.11.4
- org.open-metadata:platform (Maven): affected from 1.5.0; fixed in 1.11.4

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-22244/ (Markdown: https://insights.sbomify.com/CVE-2026-22244/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-22244
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-22244
- OSV: https://osv.dev/vulnerability/CVE-2026-22244

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-22244/
Summaries are generated and may contain mistakes; the official description above is the record.
