What’s Vulnerable › Vulnerabilities
CVE-2026-28228: OpenOLAT: Server-Side Template Injection (SSTI) in Velocity templates allows Remote Code Execution
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-30 · updated 2026-06-17
- Weakness: CWE-1336
Description
OpenOlat is an open source web-based e-learning platform for teaching, learning, assessment and communication. Prior to versions 19.1.31, 20.1.18, and 20.2.5, an authenticated user with the Author role can inject Velocity directives into a reminder email template. When the reminder is processed (either triggered manually or via the daily cron job), the injected directives are evaluated server-side. By chaining Velocity's #set directive with Java reflection, an attacker can instantiate arbitrary Java classes such as java.lang.ProcessBuilder and execute operating system commands with the privileges of the Tomcat process (typically root in containerized deployments). This issue has been patched in versions 19.1.31, 20.1.18, and 20.2.5.
Affected products
- OpenOLAT: before 19.1.31; from 20.0.0 before 20.1.18; from 20.2.0 before 20.2.5 — fixed in 19.1.31, 20.1.18, 20.2.5
How to fix
Upgrade to a fixed version: OpenOLAT 19.1.31, 20.1.18, 20.2.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-28228 or the next vulnerability affects your stack