CVE-2026-136410
Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
Critical · 9.5Fix available
- CVSS
- 9.5
- EPSS
- 0.91% (p58)
- Published
- 2026-11-24
- Age
- 4d old
- Modified
- 2026-11-25
- Product
- thymeleaf thymeleaf
- Aliases
- GHSA-2wmw-5fmc-m25v
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
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.
Fixed in
3.1.6.RELEASE
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | thymeleaf | >=0, <3.1.6.RELEASE | 3.1.6.RELEASE |
| unknown | thymeleaf-spring5 | >=0, <3.1.6.RELEASE | 3.1.6.RELEASE |
| unknown | thymeleaf-spring6 | >=0, <3.1.6.RELEASE | 3.1.6.RELEASE |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-2wmw-5fmc-m25v vendor-advisory
- https://github.com/thymeleaf/thymeleaf/releases/tag/thymeleaf-3.1.6.RELEASE release-notes
- https://www.vulncheck.com/advisories/thymeleaf-before-3.1.6-release-restricted-expression-mode-bypass-via-expression-objects third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136410.json advisory
- https://github.com/thymeleaf/thymeleaf package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136410 advisory
- https://repo.maven.apache.org/maven2 web