Back to CVE records
Critical 9.0Published Apr 17, 2026

CVE-2026-40477Thymeleaf is a server-side Java template engine for web and standalone environments.

Updated under an hour ago ()

Does this affect you?

It affects thymeleaf. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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. Although the library provides mechanisms to prevent expression injection, it fails to properly restrict the scope of accessible objects, allowing specific potentially sensitive objects to be reached from within a template. 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.

CVSS
9.0 CRITICAL (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-917, CWE-1336
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Aug 4, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
thymeleaf thymeleaf
thymeleaf:thymeleaf
before 3.1.4
NVD

References

  • vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.