Maven
CVE-2026-120316
http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
- Severity
- High 8.2
- Published
- 2 Nov 2026
- Last changed
- 2 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 6.62.0.0-ee
- Exploit chance
- 0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
http4k before 6.62.0.0-ee contains a path traversal vulnerability in ThymeleafTemplates Caching and HotReload that allows unauthenticated attackers to read files outside baseTemplateDir by supplying ../ segments in ViewModel.template() values. Attackers can influence request-driven template selection so Thymeleaf's FileTemplateResolver resolves escaped paths without containment checks, disclosing any file readable by the server process.
Affected software
| Software | Affected versions |
|---|---|
org.http4k:http4k-template-thymeleafMaven · osv:Maven:org.http4k:http4k-template-thymeleaf |
|
About org.http4k:http4k-template-thymeleaf
This is the only vulnerability in org.http4k:http4k-template-thymeleaf in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120316