Skip to content

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

CriticalCVSS 9.0 EPSS 0.43% ITW reported
Published
Updated
Exploit status
Exploitation reported (unconfirmed)
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

6 packages: 3 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/thymeleaf(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/thymeleaf(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
org.thymeleaf/thymeleaf(Maven) < 3.1.5.RELEASE; <= 3.1.4.RELEASE; = 1.0.0; = 1.0.0-beta1 +80 more 3.1.5.RELEASE Fixed
org.thymeleaf/thymeleaf-spring5(Maven) < 3.1.5.RELEASE; <= 3.1.4.RELEASE; = 3.0.3.M1; = 3.0.4.M2 +21 more 3.1.5.RELEASE Fixed
org.thymeleaf/thymeleaf-spring6(Maven) < 3.1.5.RELEASE; <= 3.1.4.RELEASE; = 3.1.0.M1; = 3.1.0.M2 +8 more 3.1.5.RELEASE Fixed
thymeleaf = < 3.1.5.RELEASE No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
thymeleaf = < 3.1.5.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) < 3.1.5.RELEASE 3.1.5.RELEASE
org.thymeleaf/thymeleaf(Maven) = 1.0.0 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta4 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.0-beta5 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.0.1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.0 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.4 No fix listed
org.thymeleaf/thymeleaf(Maven) = 1.1.5 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.0 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.0-beta1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.0-beta2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.10 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.11 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.12 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.13 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.14 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.15 No fix listed
Show 99 more
ProductAffected versionsFixed in
org.thymeleaf/thymeleaf(Maven) = 2.0.16 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.17 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.18 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.19 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.20 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.21 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.4 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.5 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.6 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.7 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.8 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.0.9 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-beta1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-beta2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-m1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-m2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0-m3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.5.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 2.1.6.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.ALPHA01 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.ALPHA02 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.ALPHA03 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.BETA01 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.BETA02 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.BETA03 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.0.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.1.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.10.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.11.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.12.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.13.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.14.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.15.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.2.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.3.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.4.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.5.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.6.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.7.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.8.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.0.9.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.M1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.M2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.M3 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.RC1 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.RC2 No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = 3.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) = m1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) < 3.1.5.RELEASE 3.1.5.RELEASE
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.10.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.11.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.12.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.13.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.14.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.15.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.3.M1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.4.M2 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.5.M3 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.6.M4 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.7.RC1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.8.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.0.9.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.M1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.M2 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.M3 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.RC1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.RC2 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) = 3.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) < 3.1.5.RELEASE 3.1.5.RELEASE
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.M1 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.M2 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.M3 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.RC1 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.RC2 No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.0.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.1.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.2.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) = 3.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf(Maven) <= 3.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) <= 3.1.4.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) <= 3.1.4.RELEASE No fix listed
redhat/thymeleaf(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/thymeleaf(Red Hat:red_hat_single_sign_on:7) All versions No fix listed

References