CVE-2026-41901
Thymeleaf is a server-side Java template engine for web and standalone environments. Prior to 3.1.5.RELEASE, a security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf. Although the library provides mechanisms to avoid the execution of potentially dangerous expressions in some specific sandboxed (restricted) contexts, it fails to properly neutralize specific constructs that allow this kind of expressions to be executed. If an application developer passes to the template engine unsanitized variables that contain such expressions, and these values are used in sandboxed contexts inside the templates, these expressions can be executed achieving Server-Side Template Injection (SSTI). This vulnerability is fixed in 3.1.5.RELEASE.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS probability
- 0.43%
- CWE
- CWE-917, CWE-1336
- Published
- 2026-05-12
- Last modified
- 2026-05-13
Affected products
- thymeleaf thymeleaf
Weakness type
Related vulnerabilities
- CVE-2026-65591 — n8n before 1.123.64 Sanitizer Bypass Remote Code Execution
- CVE-2026-11561 — SSTI in Soagen Informatics' Apinizer
- CVE-2026-40985 — Data Binding Vulnerability in Spring Web Flow with Unified EL Parser
- CVE-2026-41729 — Spring Data REST SpEL Injection via Map Key in JSON Patch
- CVE-2026-41719 — Spring Data KeyValue - SpEL Injection vulnerability in SpelPropertyComparator
- CVE-2026-41717 — Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding
- CVE-2026-2586 — An authenticated Remote Code Execution (RCE) vulnerability was identified in GlassFish's...
- CVE-2026-2587 — A critical Remote Code Execution (RCE) vulnerability was identified in the server-side template...