Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-120316 EUVD-2026-115005GHSA-r83g-mhw3-hx4p

http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution

Published Nov 2, 2026 · Updated Nov 2, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
http4k http4k < 6.62.0.0-ee 6.62.0.0-ee

References