The flaw concerns expression objects whose accessible scope can allow actions normally forbidden in restricted mode. It matters when an application directly passes unvalidated user input into a Thymeleaf expression.The vendor says this can escalate an existing server-side template injection beyond restricted mode. The advisory does not say every Thymeleaf application is exposed or confirm a particular outcome such as remote code execution. Teams can use the Vulnerability Intelligence platform to organize CVE prioritization alongside application-specific exposure checks.
What it allows
How Does CVE-2026-136410 Bypass Restricted Mode?
Thymeleaf normally limits what an injected expression can do in certain restricted contexts. The vendor says some accessible expression objects were scoped too broadly, so those limits could be bypassed. The attacker still needs an application path that inserts unvalidated user input directly into an expression.
The CVE record identifies restricted contexts including preprocessing, unescaped output, event handlers, fragment names and TEXT templates. These examples guide a defensive review; the record does not establish that each application uses them unsafely. Trace untrusted input from controllers or templates into expression construction, then prioritize reachable paths.
The 24 November 2026 CISA KEV catalog snapshot did not list the CVE.
Who is affected
Which Thymeleaf Versions and Applications Are Affected?
The vendor lists org.thymeleaf:thymeleaf, org.thymeleaf:thymeleaf-spring5 and org.thymeleaf:thymeleaf-spring6 through 3.1.5.RELEASE as affected. For each package, 3.1.6.RELEASE is the patched version. Exposure requires an application to pass unvalidated user input directly into Thymeleaf expressions.
Inventory the resolved Maven dependency and the version packaged with each deployed application. Review where untrusted input reaches expression construction, especially in the restricted contexts named by the CVE record. Record both findings in a vulnerability management process before prioritizing remediation.
Because the vendor gives an upper bound rather than a branch-by-branch lower bound, compare package versions manually against 3.1.6.RELEASE. Use a patch management process to confirm that the rebuilt application actually includes the fixed dependency.
Timeline
- 2026-11-08
Thymeleaf published GHSA-2wmw-5fmc-m25v and identified 3.1.6.RELEASE as the patched version.
- 2026-11-24
VulnCheck published CVE-2026-136410 with CVSS 4.0 and 3.1 assessments.
- 2026-11-24
The CISA KEV catalog snapshot did not list CVE-2026-136410.
What to do
-
Identify reachable expression paths
Find applications using the three named Maven artifacts. Trace unvalidated user input into Thymeleaf expressions and prioritize reachable paths in restricted contexts.
-
Upgrade all affected packages
Update thymeleaf, thymeleaf-spring5 and thymeleaf-spring6 to 3.1.6.RELEASE or a later fixed release where used. Rebuild and redeploy the affected application.
-
Verify the deployed version
Inspect the resolved dependency tree and the artifact running in production after deployment. Confirm each relevant Thymeleaf package reports 3.1.6.RELEASE or a later fixed version.
-
Remove unsafe input flow
Stop passing unvalidated user input directly into template expressions. Review affected template paths as a code-level control alongside the version update.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-136410 in Brandefense Atlas
The Atlas record of CVE-2026-136410: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-136410 affect every Thymeleaf application?
No. The vendor describes a prerequisite: an application directly passes unvalidated user input into Thymeleaf expressions. Review that input flow and the installed package version.
Which version fixes CVE-2026-136410?
The Thymeleaf advisory lists 3.1.6.RELEASE as patched for thymeleaf, thymeleaf-spring5 and thymeleaf-spring6. Confirm the resolved version in the deployed application.
Does the advisory confirm remote code execution?
The vendor describes an escalation of template injection beyond restricted mode. It does not claim a confirmed remote code execution outcome for every affected application.
Does the severity score prove exploitation?
No. CVSS measures severity under its stated assumptions. A severity score does not prove that this CVE has been exploited.