Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-120316

http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

http4k http4k

Default version status: unaffected

  • 0 to < 6.62.0.0-eeaffected
  • 6.62.0.0-eeunaffected
pkg:maven/org.http4k/http4k-template-thymeleaf

References