CVE-2026-136410 is a critical flaw in Thymeleaf before 3.1.6.RELEASE that lets unauthenticated remote attackers bypass restricted expression mode through improperly scoped expression objects.
What Is It
Thymeleaf versions before 3.1.6.RELEASE have a restricted expression mode bypass. Expression objects are scoped improperly, which lets unauthenticated remote attackers perform actions the restricted mode should block. According to the NVD description, attackers can inject input into restricted contexts to escalate server-side template injection. These contexts include preprocessing, th:utext, th:on* event handlers, fragment names and TEXT templates.
The weakness is classified as CWE-917. VulnCheck disclosed the issue, and the record was published to NVD on 2026-11-24. Its NVD status is still "Received," which means NVD has not finished its own analysis yet.
Why It Matters
VulnCheck scores the flaw 9.0 (CRITICAL) under CVSS 3.1 (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H) and 9.5 (CRITICAL) under CVSS 4.0. The vector shows network access with no privileges and no user interaction required. Scope is changed, and confidentiality, integrity and availability impacts are all high. Attack complexity is rated high, and the CVSS 4.0 vector marks attack requirements as present. That means exploitation depends on specific conditions, such as an application passing attacker-influenced input into one of the restricted contexts above.
CISA's SSVC assessment rates exploitation as "none," automatable as "no," and technical impact as "total." This CVE has no CISA KEV entry, and the supplied data does not confirm active exploitation.
What's Vulnerable
These Maven packages are affected in all versions before 3.1.6.RELEASE:
org.thymeleaf:thymeleaforg.thymeleaf:thymeleaf-spring5org.thymeleaf:thymeleaf-spring6
Versions outside that range are listed as unaffected by default. Applications that pass user-controlled input to preprocessing expressions, th:utext, th:on* attributes, fragment names or TEXT-mode templates are the ones the advisory describes as exposed.
Patch Status
Thymeleaf 3.1.6.RELEASE fixes the flaw, and the release is tagged in the project's GitHub repository. Upgrade thymeleaf, thymeleaf-spring5 and thymeleaf-spring6 to 3.1.6.RELEASE or later. The project has also published a GitHub security advisory (GHSA-2wmw-5fmc-m25v). Because there is no KEV entry, CISA has not set a required action or due date.