CVE-2026-136410: Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects

Published Nov 24, 2026
·
Updated

Thymeleaf before 3.1.6.RELEASE contains a restricted expression mode bypass vulnerability that allows unauthenticated remote attackers to perform forbidden actions through improperly scoped expression objects. Attackers can inject input into restricted contexts like preprocessing, th:utext, th:on handlers, fragment names, or TEXT templates to escalate server-side template injection.

Affected Software

1 affected component
Thymeleaf thymeleaf<3.1.6.RELEASE

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.1.6.RELEASE

Event History

Nov 24, 2026
CVE Published
via MITRE·06:45 PM
Data Sourced
via MITRE·06:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness
Event
via NVD·07:18 PM

Frequently Asked Questions

1

Which deployments are exposed?

Applications using Thymeleaf versions before 3.1.6.RELEASE are affected when untrusted input can reach restricted template-expression contexts, including preprocessing, th:utext, th:on* handlers, fragment names, or TEXT templates.

2

What does an attacker need to exploit this issue?

The attacker does not need authentication or user interaction, but must be able to inject input into a restricted Thymeleaf expression context. The bypass uses improperly scoped expression objects to perform actions that restricted mode should forbid.

3

How can I identify potentially affected applications?

Identify applications running Thymeleaf before 3.1.6.RELEASE, then review whether externally controlled values can be incorporated into preprocessing, th:utext, th:on* handlers, fragment names, or TEXT templates. Such input paths can enable escalation of server-side template injection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203