CVE-2026-28228: OpenOLAT: Server-Side Template Injection (SSTI) in Velocity templates allows Remote Code Execution
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-28228?
CVE-2026-28228 is classified as a critical vulnerability due to its potential for Remote Code Execution.
How do I fix CVE-2026-28228?
To remediate CVE-2026-28228, upgrade OpenOLAT to versions 19.1.31, 20.1.18, or 20.2.5 or later.
Who is affected by CVE-2026-28228?
CVE-2026-28228 affects authenticated users with the Author role in OpenOLAT versions prior to the specified secure releases.
What kind of vulnerability is CVE-2026-28228?
CVE-2026-28228 is a Server-Side Template Injection (SSTI) vulnerability in Velocity templates.
Can CVE-2026-28228 lead to data breaches?
Yes, CVE-2026-28228 can lead to data breaches, as it allows for Remote Code Execution which can compromise the server.