CVE-2026-120316
Dashboard / Vulnerabilities / CVE-2026-120316
Summary: http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120316.json, https://github.com/http4k/http4k/security/advisories/GHSA-wq4x-r858-gmmj, https://nvd.nist.gov/vuln/detail/CVE-2026-120316, https://www.vulncheck.com/advisories/http4k-before-6.62.0.0-ee-path-traversal-via-thymeleaftemplates-template-resolution
Affected packages
Package
Name:
Purl:
