CVE-2026-120316
JSON

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 packageVersionsReported by
http4k http4kbefore 6.62.0.0-ee
Not affected: 6.62.0.0-ee
CVE List

All scores

VulnCheck8.2high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120316 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-120316 changed 2026-11-02Public domain