CVE-2026-120316 PUBLISHED

http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution

Assigner: VulnCheck
Reserved: 01.11.2026 Published: 02.11.2026 Updated: 02.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor http4k
Product http4k
Versions Default: unaffected
  • affected from 0 to 6.62.0.0-ee (excl.)
  • Version 6.62.0.0-ee is unaffected

Credits

  • baeseungwon1010 reporter

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE