CVE-2026-136410
published critical CVSS 4.0 · 9.5Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thymeleaf | — | thymeleaf0 to < 3.1.6.RELEASE · Other versions: unaffected | Affected | Not stated | VulnCheck |
| thymeleaf | — | thymeleaf-spring50 to < 3.1.6.RELEASE · Other versions: unaffected | Affected | Not stated | VulnCheck |
| thymeleaf | — | thymeleaf-spring60 to < 3.1.6.RELEASE · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.5 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.0 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thymeleaf | thymeleaf | 0 to < 3.1.6.RELEASE (affected · maven)Default: unaffected | VulnCheck · cna |
| thymeleaf | thymeleaf-spring5 | 0 to < 3.1.6.RELEASE (affected · maven)Default: unaffected | VulnCheck · cna |
| thymeleaf | thymeleaf-spring6 | 0 to < 3.1.6.RELEASE (affected · maven)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
References
3- thymeleaf thymeleaf-3.1.6.RELEASE Release Notes https://github.com/thymeleaf/thymeleaf/releases/tag/thymeleaf-3.1.6.RELEASE
- GitHub Security Advisory (GHSA-2wmw-5fmc-m25v) https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-2wmw-5fmc-m25v
- VulnCheck Advisory: Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects https://www.vulncheck.com/advisories/thymeleaf-before-3.1.6-release-restricted-expression-mode-bypass-via-expression-objects
Provider assertions
2VulnCheck · cna
Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fed25bcf54776ab0fa4da588c31a4408b4171762aa2f8bf53c20dfc6d41b3762
- Ingested
- 24 Nov 2026, 20:26:19 UTC
- Source record
- Official CVE record