
CVE catalog
CVE-2026-40478
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
- Severity
- Critical · CVSS 9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.10% · Oct 25, 2026
A flaw was found in Thymeleaf, a server-side Java template engine. An unauthenticated remote attacker can exploit this vulnerability by providing unvalidated user input to the template engine. This bypasses existing security mechanisms, allowing for the execution of unauthorized expressions and leading to Server-Side Template Injection (SSTI). thymeleaf: Thymeleaf: Server-Side Template Injection via expression execution bypass The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | thymeleaf | Not reported | 3.1.4 | fixed |
| Cpe | thymeleaf | Not reported | 3.1.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | thymeleaf | cpe | Not reported | 3.1.4 | Not reported | Not reported | Not reported |
| Cpe | thymeleaf | cpe | Not reported | 3.1.4 | Not reported | NVD-CVE-2026-40478 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:21772]
- [https://access.redhat.com/security/cve/CVE-2026-40478]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2459349]
- [https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-xjw8-8c5c-9r79]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40478]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40478.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]