CVE-2026-136410 Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects

Published Updated

CVSS score

Critical

9.5/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
3.1.6.RELEASE
Attack path
Over the network
No login, no user action

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.

PackageAffectedFixed in
org.thymeleaf/thymeleaf-spring5 Maven
pkg:maven/org.thymeleaf/thymeleaf-spring5
All versions3.1.6.RELEASE
org.thymeleaf/thymeleaf Maven
pkg:maven/org.thymeleaf/thymeleaf
All versions3.1.6.RELEASE
org.thymeleaf/thymeleaf-spring6 Maven
pkg:maven/org.thymeleaf/thymeleaf-spring6
All versions3.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.

Is CVE-2026-136410 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free