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

[CVE catalog]

Severity
Critical · CVSS 9CVSS: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.

DistributionPackageReleaseVersionStatus
CpethymeleafNot reported3.1.4fixed
CpethymeleafNot reported3.1.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpethymeleafcpeNot reported3.1.4Not reportedNot reportedNot reported
CpethymeleafcpeNot reported3.1.4Not reportedNVD-CVE-2026-40477Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References