CVE-2026-120316
8.2high
http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
- Severity
- 8.2high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.40% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| http4k http4k | before 6.62.0.0-ee Not affected: 6.62.0.0-ee | CVE List |
All scores
| VulnCheck | 8.2high CVSS:4.0 | 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 |
| VulnCheck | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120316 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-120316 changed 2026-11-02 | Public domain |