Skip to content

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.

PackageAffectedFixed inStatus
org.http4k/http4k-template-thymeleaf < 6.62.0.0-ee 6.62.0.0-ee Fixed

Affected products

ProductAffected versionsFixed in
org.http4k/http4k-template-thymeleaf < 6.62.0.0-ee 6.62.0.0-ee

References