{"affected":[{"defaultStatus":"unaffected","ecosystem":"maven","packageName":"org.http4k/http4k-template-thymeleaf","product":"http4k","source":"CNA: VulnCheck","vendor":"http4k","versions":[{"lessThan":"6.62.0.0-ee","status":"affected","version":"0","versionType":"custom"},{"status":"unaffected","version":"6.62.0.0-ee","versionType":"custom"}]}],"cveId":"CVE-2026-120316","cwes":["CWE-22"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.2,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":5.9,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}],"modifiedAt":1793584874357,"publishedAt":1793584874357,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/http4k/http4k/security/advisories/GHSA-wq4x-r858-gmmj"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/http4k-before-6.62.0.0-ee-path-traversal-via-thymeleaftemplates-template-resolution"}],"remediation":[],"revision":"2f3e24fbfc7044bcbeac6c2bd1c8cb4af67f2044cd569ccfbd41f8cd7622f29f","sources":[{"modifiedAt":1793584874357,"name":"CNA: VulnCheck","retrievedAt":1793588929840,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120316"}],"ssvc":null,"status":"published","title":"http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution","updatedAt":1793588929840}