CVE-2026-136410
CVE-2026-136410 · Thymeleaf before 3.1.6.RELEASE Restricted Expression Mode Bypass via Expression Objects
CVSS 9.5 · Critical · EPSS 0.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- thymeleafUpdate to 3.1.6.RELEASE
- thymeleaf-spring5Update to 3.1.6.RELEASE
- thymeleaf-spring6Update to 3.1.6.RELEASE
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
thymeleaf
- Versions
- ≥ 0, < 3.1.6.RELEASE: Affected (maven)
Update to 3.1.6.RELEASE
thymeleaf-spring5
- Versions
- ≥ 0, < 3.1.6.RELEASE: Affected (maven)
Update to 3.1.6.RELEASE
thymeleaf-spring6
- Versions
- ≥ 0, < 3.1.6.RELEASE: Affected (maven)
Update to 3.1.6.RELEASE
Original sources
- https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-2wmw-5fmc-m25v
- https://github.com/thymeleaf/thymeleaf/releases/tag/thymeleaf-3.1.6.RELEASE
- https://www.vulncheck.com/advisories/thymeleaf-before-3.1.6-release-restricted-expression-mode-bypass-via-expression-objects
- https://nvd.nist.gov/vuln/detail/CVE-2026-136410