CVE-2026-41901: Vulnerability in org.thymeleaf:thymeleaf

Critical. 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...

Maven, CWE-917, CWE-1336

Exploitation
None confirmed
Severity
9 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c9ph-gxww-7744
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-917, CWE-1336
Published
4 May 2026
Last change
17 Jun 2026
Ecosystem
Maven

Affected packages

Vulnerable version ranges and fixed releases

  • org.thymeleaf:thymeleaf Maven, Affected through 3.1.4.RELEASE. Fixed in 3.1.5.RELEASE
  • org.thymeleaf:thymeleaf-spring5 Maven, Affected through 3.1.4.RELEASE. Fixed in 3.1.5.RELEASE
  • org.thymeleaf:thymeleaf-spring6 Maven, Affected through 3.1.4.RELEASE. Fixed in 3.1.5.RELEASE

Advisories

Vendor and security advisories