Skip to content
Connect AISign inSign up free
CVE-2026-404779.1CriticalCWE-917

CVE-2026-40477: Improper restriction of the scope of accessible objects in Thymeleaf expressions

thymeleaf

Vendor fix available · Affected: thymeleaf · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.8%probability of exploitation in the next 30 days
59th percentile
050100

Higher than 59% of scored CVEs

9.1CriticalCVSS 3.1
LowCrit.

DescriptionCVE.org

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.

Affected products3

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • thymeleaf · thymeleaf< 3.1.4.RELEASE
  • thymeleaf · org.thymeleaf:thymeleaf-spring5< 3.1.4.RELEASE
  • thymeleaf · org.thymeleaf:thymeleaf-spring6< 3.1.4.RELEASE

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
thymeleaf
Published
April 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-40477 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References