What is CVE-2026-136410?
CVE-2026-136410 is a critical vulnerability in thymeleaf, published on 24 Nov 2026.
Official description
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.
Weakness: CWE-917
How severe is CVE-2026-136410?
CVE-2026-136410 scores 9.5 out of 10 under CVSS 4.0, which is critical severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Which versions are affected by CVE-2026-136410?
3 open source packages ship an affected version, including org.thymeleaf/thymeleaf-spring5, org.thymeleaf/thymeleaf and org.thymeleaf/thymeleaf-spring6.
| Package | Affected | Fixed in |
|---|---|---|
org.thymeleaf/thymeleaf-spring5 Mavenpkg:maven/org.thymeleaf/thymeleaf-spring5 | All versions | 3.1.6.RELEASE |
org.thymeleaf/thymeleaf Mavenpkg:maven/org.thymeleaf/thymeleaf | All versions | 3.1.6.RELEASE |
org.thymeleaf/thymeleaf-spring6 Mavenpkg:maven/org.thymeleaf/thymeleaf-spring6 | All versions | 3.1.6.RELEASE |
How do I fix CVE-2026-136410?
Upgrade org.thymeleaf/thymeleaf-spring5 to 3.1.6.RELEASE or later.
Is CVE-2026-136410 being exploited?
There is no known exploitation of CVE-2026-136410 in the wild and no public exploit code.
Sources
Also known as GHSA-2wmw-5fmc-m25v, GHSA-xh7h-9cr4-vfvf.