Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.5

CVE-2026-136410: Thymeleaf before 3.1.6 can be tricked into executing code

CVE-2026-136410 · published 11 days ago
Summary

Web applications that use Thymeleaf versions older than 3.1.6 (including the Spring integrations) may let an attacker insert specially crafted data into template fields, causing the server to run unintended commands. This can lead to data theft, modification, or further system compromise. Upgrade to Thymeleaf 3.1.6 or later and ensure template inputs are properly validated or sanitized.

What to do
  • Update thymeleaf thymeleaf to version 3.1.6.RELEASE or later.
  • Update thymeleaf thymeleaf-spring5 to version 3.1.6.RELEASE or later.
  • Update thymeleaf thymeleaf-spring6 to version 3.1.6.RELEASE or later.
Affected software
VendorProductAffected versions
thymeleaf thymeleaf < 3.1.6.RELEASE
thymeleaf thymeleaf-spring5 < 3.1.6.RELEASE
thymeleaf thymeleaf-spring6 < 3.1.6.RELEASE
Original advisory text
Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
Thymeleaf before 3.1.6.RELEASE contains a restricted expression mode bypass vulnerability that allows unauthenticated remote attackers to perform forbidden actions through improperly scoped expression objects. Attackers can inject input into restricted contexts like preprocessing, th:utext, th:on* handlers, fragment names, or TEXT templates to escalate server-side template injection.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.5 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Timeline
Published24 Nov 2026
Updated4 Dec 2026
First seen24 Nov 2026
Sources
CVE-2026-136410 · MITRE
Track software like this
Free during beta