Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-41901— Thymeleaf: Improper recognition of unauthorized syntax patterns in sandboxed Thymeleaf expressions

Quick assessment

Affected
thymeleaf thymeleaf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

thymeleaf是Thymeleaf开源的一个Java模板引擎。 thymeleaf 3.1.5.RELEASE之前版本存在安全漏洞,该漏洞源于表达式执行机制存在安全绕过,可能导致服务器端模板注入。

CVSS 9.0 · Critical EPSS 0.43% · P37

Affected Version Matrix 1

VendorProduct Version RangeStatus
thymeleaf thymeleaf < 3.1.5.RELEASE affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-41901

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Thymeleaf: Improper recognition of unauthorized syntax patterns in sandboxed Thymeleaf expressions
Source: CVE Program / CVE List V5
Vulnerability Description
Thymeleaf is a server-side Java template engine for web and standalone environments. Prior to 3.1.5.RELEASE, a security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf. Although the library provides mechanisms to avoid the execution of potentially dangerous expressions in some specific sandboxed (restricted) contexts, it fails to properly neutralize specific constructs that allow this kind of expressions to be executed. If an application developer passes to the template engine unsanitized variables that contain such expressions, and these values are used in sandboxed contexts inside the templates, these expressions can be executed achieving Server-Side Template Injection (SSTI). This vulnerability is fixed in 3.1.5.RELEASE.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
表达式语言语句中使用的特殊元素转义处理不恰当(表达式语言注入)
Source: CVE Program / CVE List V5
Vulnerability Title
thymeleaf 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
thymeleaf是Thymeleaf开源的一个Java模板引擎。 thymeleaf 3.1.5.RELEASE之前版本存在安全漏洞,该漏洞源于表达式执行机制存在安全绕过,可能导致服务器端模板注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
thymeleaf thymeleaf < 3.1.5.RELEASE -

II. Public POCs for CVE-2026-41901

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-41901

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-41901 (1)

IV. Related Vulnerabilities