
CVE catalog
CVE-2026-40477
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 expression execution mechanisms. Al
- 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
- 0.85% · Oct 25, 2026
A flaw was found in Thymeleaf, a server-side Java template engine. An unauthenticated remote attacker can exploit a security bypass vulnerability in the expression execution mechanisms. By providing unvalidated user input directly to the template engine, the attacker can bypass the library's protections, leading to Server-Side Template Injection (SSTI). This allows access to potentially sensitive objects from within a template. thymeleaf: Thymeleaf: Server-Side Template Injection via security bypass in expression execution 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-40477 | 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-40477]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2459344]
- [https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-r4v4-5mwr-2fwr]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40477]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40477.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]