PT-2026-33215 · Thymeleaf · Thymeleaf

·

CVE-2026-40478

·

Published

2026-04-15

·

Updated

2026-08-18

CVSS v3.1

9.0

Critical

VectorAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Thymeleaf versions prior to 3.1.4.RELEASE
Description A security bypass exists in the expression execution mechanisms of Thymeleaf, a server-side Java template engine. The library fails to properly neutralize specific syntax patterns, allowing an unauthenticated remote attacker to bypass security protections and execute unauthorized expressions if unvalidated user input is passed directly to the template engine. This leads to Server-Side Template Injection (SSTI), a technique where an attacker injects malicious templates that are executed on the server, potentially resulting in arbitrary code execution or data exposure.
Recommendations Update to version 3.1.4.RELEASE. Ensure applications do not pass unvalidated user input directly to the template engine.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-05835
CVE-2026-40478
GHSA-XJW8-8C5C-9R79

Affected Products

Thymeleaf