Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-40477
thymeleaf

Score9 Critical
CVSS 3.1
Exploit probability (EPSS)0.98%
within the next 30 days
CategoryCode execution & injection
Published17 April 2026
Last modified: 26 October 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Special conditions are required for a successful attack, which makes exploitation harder.

The impact can spread beyond the vulnerable component.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-917, CWE-1336

Affected products

VendorProductVersions
thymeleafthymeleaf<3.1.4

Sources

Latest in the same category

  • CVE-2026-139989 High 8.5
    Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to execute code by supplying a malicious Hugging Face model chat_template. Attackers who control a…
    Code execution & injection · 30 November 2026
  • CVE-2026-137186 High 8.7
    pluggedin-app is a self-hostable web interface for managing Model Context Protocol servers. Prior to 4.0.0, an authenticated user adding a STDIO MCP server can supply crafted args that PackageManager.transformCommand()…
    Code execution & injection · 30 November 2026
  • CVE-2026-137185 High 7.3
    Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. In 0.0.844 and earlier, execute_shell_command in…
    Code execution & injection · 30 November 2026
  • CVE-2026-138669 Low 2.1
    A vulnerability was found in SourceCodester CET-Tally System 1.0. This vulnerability affects the function export_leaderboard of the file index.php of the component Leaderboard CSV Export. The manipulation of the…
    Code execution & injection · 30 November 2026
  • CVE-2026-137180 Critical 9.9
    Breeze is an open source IT platform combining remote monitoring and management, professional services automation, and a governed AI operator. Prior to 0.115.0, the Breeze agent replaced {{param}} placeholders with raw…
    Code execution & injection · 30 November 2026
  • CVE-2026-138668 Low 2
    A vulnerability has been found in youseries UReport up to 2.2.9. This affects the function buildTable of the file ureport2-core/src/main/java/com/bstek/ureport/export/html/HtmlProducer.java of the component…
    Code execution & injection · 30 November 2026