Skip to content
DayZeroHub
Critical CVSS 9.5CVE-2026-136410

Thymeleaf: Restricted Expression Mode Bypass (CVE-2026-136410)

thymeleaf thymeleaf

Summary

Thymeleaf versions before 3.1.6.RELEASE contain a restricted expression mode bypass that can escalate to server-side template injection. The CVSS 4.0 score is 9.5 (critical).

What happened

CVE-2026-136410 (CWE-917) describes a restricted expression mode bypass in Thymeleaf. According to the description, unauthenticated remote attackers can perform forbidden actions through improperly scoped expression objects. If they can inject input into restricted contexts, such as preprocessing, th:utext, th:on* handlers, fragment names or TEXT templates, they can escalate to server-side template injection. The CVSS 4.0 vector indicates network access, high attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity and availability.

Why it matters

The CVSS 4.0 score is 9.5, with critical severity per CNA:VulnCheck (vector 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). The source does not state that this vulnerability is being actively exploited, nor does it provide evidence of exploitation before disclosure.

Affected products and versions

thymeleaf, thymeleaf-spring5 and thymeleaf-spring6 (Maven), versions < 3.1.6.RELEASE.

ProductVersionsFixed in
thymeleaf thymeleaf< 3.1.6.RELEASE—
thymeleaf thymeleaf-spring5< 3.1.6.RELEASE—
thymeleaf thymeleaf-spring6< 3.1.6.RELEASE—

Action recommended by the source

The source does not include an explicit fix or mitigation instruction. Its references include a vendor advisory on GitHub and the release notes for 3.1.6.RELEASE, which are worth consulting for the vendor's guidance.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-917

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources