cybersecurity Request an audit

Actively exploited vulnerability / CVE-2026-41901

Thymeleaf: an attacker could run code on the server behind your web application

A flaw in Thymeleaf lets attackers get around the safeguards meant to block dangerous expressions when an application passes unfiltered user data to it. This can let an attacker run code on the server, putting your data and the application itself at risk. It is on the list of vulnerabilities used in real attacks kept by ENISA, the EU cybersecurity agency.

Identifier
CVE-2026-41901 · EUVD-2026-29872
Severity
Critical (9/10)
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
0.5% (FIRST's estimate for the next 30 days)

Does it concern you?

Thymeleaf is a component developers use to build the pages of web applications written in Java. Your company may have it if it runs a website, portal or internal application built in Java, often with Spring.

All versions before 3.1.5.RELEASE are affected. Ask your development team or application supplier which Thymeleaf version they use; it is listed in the project's dependencies.

What to do

Have Thymeleaf updated to version 3.1.5.RELEASE or later and the application redeployed. Also ask that user input be checked before it reaches the generated pages.

The official description

The text below is the description from the public database.

Thymeleaf is a server-side Java template engine for web and standalone environments. Prior to 3.1.5.RELEASE, a security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf. Although the library provides mechanisms to avoid the execution of potentially dangerous expressions in some specific sandboxed (restricted) contexts, it fails to properly neutralize specific constructs that allow this kind of expressions to be executed. If an application developer passes to the template engine unsanitized variables that contain such expressions, and these values are used in sandboxed contexts inside the templates, these expressions can be executed achieving Server-Side Template Injection (SSTI). This vulnerability is fixed in 3.1.5.RELEASE.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.