Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-40478

35
FAUCET Score

OVERVIEW CVE-2026-40478 is a Server-Side Template Injection (SSTI) vulnerability affecting Thymeleaf, a widely-used server-side Java template engine for web and standalone environments. Versions 3.1.3.RELEASE and prior contain a security bypass in the expression execution mechanism that fails to properly neutralize specific syntax patterns, allowing attackers to execute unauthorized expressions when applications pass unvalidated user input directly to the template engine. The vulnerability has been remediated in version 3.1.4.RELEASE. SEVERITY This vulnerability carries a CRITICAL CVSS v3.1 score of 9.0 with a network-based attack vector, high attack complexity, requiring no privileges or user interaction. The issue has broad impact, potentially compromising confidentiality, integrity, and availability across the system boundary. An unauthenticated remote attacker can exploit this flaw to achieve arbitrary code execution through template injection, presenting significant risk to affected organizations. EXPLOITATION STATUS The vulnerability is listed on the CISA Known Exploited Vulnerabilities (KEV) Catalog as actively exploited, indicating real-world attacks are occurring. While the EPSS score of 0.0005 is relatively low, the designation as "Active" on the Hot List and its presence in the KEV catalog demonstrate active threat activity. Organizations should prioritize patching to version 3.1.4.RELEASE immediately and review applications for instances of unvalidated user input being passed to Thymeleaf templates.

Impacted Technologies

VendorProductVersion(s)CPE
< 3.1.4CPE matchmatch criteria
cpe:2.3:a:thymeleaf:thymeleaf:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.0CRITICAL

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.2
Impact Score
6.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.77%
Probability of exploitation in next 30 days
EPSS Percentile
51.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0077 is in the 47th percentile among its peer group of 201 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.4 Reddit, 1.2 Bluesky, 0.8 Mastodon, and 2.3 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.8 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

mavenpatch availablevia ghsa
Product: org.thymeleaf:thymeleafFixed in: 3.1.4.RELEASE
mavenpatch availablevia ghsa
Product: org.thymeleaf:thymeleaf-spring5Fixed in: 3.1.4.RELEASE
mavenpatch availablevia ghsa
Product: org.thymeleaf:thymeleaf-spring6Fixed in: 3.1.4.RELEASE
github_advisoryvendor investigatingvia nvd_reference
View patch

Vendor Advisories (1)

mavenGHSA-xjw8-8c5c-9r79critical

Improper neutralization of specific syntax patterns for unauthorized expressions in Thymeleaf

Apr 15, 2026

References

access.redhat.com / errata/RHSA-2026:21772
access.redhat.com / security/cve/CVE-2026-40478
bugzilla.redhat.com / show_bug.cgi
security.access.redhat.com / data/csaf/v2/vex/2026/cve-2026-40478.json
github.com / thymeleaf/thymeleaf/security/advisories/GHSA-xjw8-8c5c-9r79
Vendor Advisory