WaratekVRT Sign in

CVE-2026-41901

Severity9.0 Critical CVSS 3.1
Fixed in3.1.5.RELEASE
WeaknessExpression language injection (CWE-917)
Published12 May 2026
Updated17 Jun 2026

Description

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.

CWE-1336

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.43% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2026-41901 2026-05-23

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-c9ph-gxww-7744 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.thymeleaf:thymeleaf 0 3.1.5.RELEASE unbounded
org.thymeleaf:thymeleaf-spring5 0 3.1.5.RELEASE unbounded
org.thymeleaf:thymeleaf-spring6 0 3.1.5.RELEASE unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
osv org.thymeleaf thymeleaf generic < 3.1.5
osv org.thymeleaf thymeleaf-spring5 generic < 3.1.5
osv org.thymeleaf thymeleaf-spring6 generic < 3.1.5

References

URLTags
https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-c9ph-gxww-7744 advisory
https://github.com/thymeleaf/thymeleaf PACKAGE

Timeline

Published2026-05-12By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.