CVE-2026-40478: Improper neutralization of specific syntax patterns for unauthorized expressions in Thymeleaf
Vendor fix available · Affected: thymeleaf · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 66% of scored CVEs
DescriptionCVE.org
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.
Affected products3
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- thymeleaf · thymeleaf< 3.1.4.RELEASE
- thymeleaf · org.thymeleaf:thymeleaf-spring5< 3.1.4.RELEASE
- thymeleaf · org.thymeleaf:thymeleaf-spring6< 3.1.4.RELEASE
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- thymeleaf
- Published
- April 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-40478 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-917cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- github.com/thymeleaf/thymeleaf/security/advisories/GHSA-xjw8-8c5github.com
- access.redhat.com/security/cve/CVE-2026-40478access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40478.security.access.redhat.com