cve.bz

CVE-2026-41901

9.0 criticalEPSS 0.4%

Critical (9.0). EPSS 0.4% chance of exploitation in the next 30 days. Fixed in org.thymeleaf:thymeleaf 3.1.5.RELEASE.

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.

Severity

CVSS 3.1

9.0 critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-31)
CWEs
CWE-917, CWE-1336
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c9ph-gxww-7744Mavenorg.thymeleaf:thymeleaf<3.1.5.RELEASE3.1.5.RELEASE
GHSA-c9ph-gxww-7744Mavenorg.thymeleaf:thymeleaf-spring5<3.1.5.RELEASE3.1.5.RELEASE
GHSA-c9ph-gxww-7744Mavenorg.thymeleaf:thymeleaf-spring6<3.1.5.RELEASE3.1.5.RELEASE

References

Check your stackJSON