CVE-2026-120316 http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
HighCVSS 8.2
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.http4k/http4k-template-thymeleaf | < 6.62.0.0-ee | 6.62.0.0-ee | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.http4k/http4k-template-thymeleaf | < 6.62.0.0-ee | 6.62.0.0-ee |
References
- GitHub Security Advisory (GHSA-wq4x-r858-gmmj) vendor-advisory
- VulnCheck Advisory: http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution third-party-advisory
- ENISA EUVD EUVD-2026-115005 third-party-advisory