Skip to content

CVE-2026-40478 Improper neutralization of specific syntax patterns for unauthorized expressions in Thymeleaf

CriticalCVSS 9.1 EPSS 1.1% 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. Versions 3.1.3.RELEASE and prior contain a security bypass vulnerability in the the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly neutralize specific syntax patterns that allow for the execution of unauthorized expressions. If an application developer passes unvalidated user input directly to the template engine, an unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE.

Upgrade path

19 packages: 5 fixed, 10 with no fix yet.

PackageAffectedFixed inStatus
redhat jboss fuse All versions No fix listed No fix yet
redhat jbosseapxp All versions No fix listed No fix yet
redhat red hat single sign on All versions No fix listed No fix yet
redhat/devspaces/openvsx-rhel9:1779528224(Red Hat openshift_devspaces 3.28 el9) All versions No fix listed No fix yet
redhat/devspaces/pluginregistry-rhel9:1779359423(Red Hat openshift_devspaces 3.28 el9) All versions No fix listed No fix yet
redhat/spring-boot-starter-thymeleaf(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
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
redhat/thymeleaf-extras-java8time(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
redhat/thymeleaf-spring5(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
org.thymeleaf/thymeleaf(Maven) < 3.1.4.RELEASE; <= 3.1.3.RELEASE; = 1.0.0; = 1.0.0-beta1 +79 more 3.1.4.RELEASE Fixed
org.thymeleaf/thymeleaf-spring5(Maven) < 3.1.4.RELEASE; <= 3.1.3.RELEASE; = 3.0.3.M1; = 3.0.4.M2 +20 more 3.1.4.RELEASE Fixed
org.thymeleaf/thymeleaf-spring6(Maven) < 3.1.4.RELEASE; <= 3.1.3.RELEASE; = 3.1.0.M1; = 3.1.0.M2 +7 more 3.1.4.RELEASE Fixed
redhat openshift devspaces < 1779359423; < 1779528224 1779359423, 1779528224 Fixed
thymeleaf < 3.1.4; = < 3.1.4.RELEASE 3.1.4 Fixed
redhat camel spring boot = 4 No fix listed Versions listed
redhat jboss enterprise application platform = 7; = 8 No fix listed Versions listed
thymeleaf org.thymeleaf:thymeleaf-spring5 = < 3.1.4.RELEASE No fix listed Versions listed
thymeleaf org.thymeleaf:thymeleaf-spring6 = < 3.1.4.RELEASE No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.thymeleaf/thymeleaf(Maven) < 3.1.4.RELEASE 3.1.4.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
org.thymeleaf/thymeleaf(Maven) = 2.0.16 No fix listed
Show 112 more
ProductAffected versionsFixed in
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) = m1 No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) < 3.1.4.RELEASE 3.1.4.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-spring6(Maven) < 3.1.4.RELEASE 3.1.4.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
thymeleaf = < 3.1.4.RELEASE No fix listed
thymeleaf org.thymeleaf:thymeleaf-spring5 = < 3.1.4.RELEASE No fix listed
thymeleaf org.thymeleaf:thymeleaf-spring6 = < 3.1.4.RELEASE No fix listed
redhat openshift devspaces < 1779528224 1779528224
redhat openshift devspaces < 1779359423 1779359423
redhat camel spring boot = 4 No fix listed
redhat jboss fuse All versions No fix listed
redhat jboss enterprise application platform = 7 No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
redhat red hat single sign on All versions No fix listed
org.thymeleaf/thymeleaf(Maven) <= 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring5(Maven) <= 3.1.3.RELEASE No fix listed
org.thymeleaf/thymeleaf-spring6(Maven) <= 3.1.3.RELEASE No fix listed
redhat/devspaces/openvsx-rhel9:1779528224(Red Hat:openshift_devspaces:3.28::el9) All versions No fix listed
redhat/devspaces/pluginregistry-rhel9:1779359423(Red Hat:openshift_devspaces:3.28::el9) All versions No fix listed
redhat/thymeleaf(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/spring-boot-starter-thymeleaf(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/thymeleaf(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/thymeleaf-extras-java8time(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/thymeleaf-spring5(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
thymeleaf < 3.1.4 3.1.4

References