Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/http4k/http4k/security/advisories/GHSA-wq4x-r858-gmmj
- https://www.vulncheck.com/advisories/http4k-before-6.62.0.0-ee-path-traversal-vi
FAQ
What is CVE-2026-120316?
CVE-2026-120316 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 ....
How severe is CVE-2026-120316?
CVE-2026-120316 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120316?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.