http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
- State
- Published
- Severity
- 8.2 High
- Published
- Nov 2, 2026
- Updated
- Nov 2, 2026
- Reserved
- Nov 1, 2026
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.
| Product | Versions |
|---|---|
| http4k http4k | before 6.62.0.0-ee Affected6.62.0.0-ee Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.2 High | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.