CVE-2026-136410

Description

A flaw was found in Thymeleaf. This vulnerability allows an unauthenticated remote attacker to bypass restricted expression controls by supplying malicious input to improperly scoped expression objects within restricted template contexts. By exploiting this flaw, an attacker can escalate server-side template injection (SSTI), potentially leading to arbitrary code execution on the underlying server.

Statement

This vulnerability is rated as having an Important severity because it can permit unauthenticated remote attackers to break out of expression boundaries and achieve arbitrary code execution via server-side template injection escalation. In Red Hat deployments, exposure depends on whether application logic directly incorporates untrusted user data into restricted template evaluation features, such as preprocessing directives or unescaped text attributes. Applications that rely strictly on static templates or rigorously sanitize external inputs prior to processing are not susceptible.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score9N/A9
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeChangedN/AChanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Red Hat CVSS v3 Score Explanation

Same class as CVE-2026-41901; AC:H — attacker must inject into restricted template contexts.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data

An attacker could insert an expression that references private data, which is then included in the output.

Integrity

Technical Impact: Execute Unauthorized Code or Commands

An attacker could execute arbitrary expressions.

Frequently Asked Questions

Want to get errata notifications? Sign up here.