CVE-2026-120316

published 2 Nov 2026 · updated 2 Nov 2026

http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 6.62.0.0-ee.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
http4k<6.62.0.0-ee6.62.0.0-ee

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120316 severity on Zeptric[![CVE-2026-120316](https://zeptric.io/badge/cve/CVE-2026-120316.svg)](https://zeptric.io/cve/CVE-2026-120316)