CVE-2026-41901 — Vulnerability in org.thymeleaf:thymeleaf-spring5...
Sandboxed Thymeleaf expressions vulnerable to improper recognition of unauthorized syntax patterns
Summary
Advisory Timeline
- First published May 4, 2026 (161 days ago).
- Last revised May 13, 2026 — 9 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.1.5.RELEASE for org.thymeleaf:thymeleaf-spring5 -->
<!-- Update pom.xml dependency version to 3.1.5.RELEASE for org.thymeleaf:thymeleaf -->
<!-- Update pom.xml dependency version to 3.1.5.RELEASE for org.thymeleaf:thymeleaf-spring6 -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: maven (3).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.thymeleaf:thymeleaf-spring5 | maven | 3.0.10.RELEASE, 3.0.11.RELEASE, 3.0.12.RELEASE, 3.0.13.RELEASE (+19 more) | 3.1.5.RELEASE |
| org.thymeleaf:thymeleaf | maven | 1.0.0, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3 (+78 more) | 3.1.5.RELEASE |
| org.thymeleaf:thymeleaf-spring6 | maven | 3.1.0.M1, 3.1.0.M2, 3.1.0.M3, 3.1.0.RC1 (+6 more) | 3.1.5.RELEASE |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1336
- CWE-917
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-41901?
- Sandboxed Thymeleaf expressions vulnerable to improper recognition of unauthorized syntax patterns This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
- How do I check if my project is affected by CVE-2026-41901?
- CVE-2026-41901 affects org.thymeleaf:thymeleaf-spring5, org.thymeleaf:thymeleaf and org.thymeleaf:thymeleaf-spring6. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41901 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2026-40477CRITICAL
Improper restriction of the scope of accessible objects in Thymeleaf expressions
- CVE-2026-40478CRITICAL
Improper neutralization of specific syntax patterns for unauthorized expressions in Thymeleaf
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies