CVE-2026-120316: http4k - Path Traversal
- Cve: CVE-2026-120316
- Name: http4k - Path Traversal
- 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.
- Impact: Unauthenticated attackers can read arbitrary files on the server, potentially exposing sensitive information.
- Remediation: Upgrade to version 6.62.0.0-ee or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00395
- Epss percentile: 0.34225
- Assignee: [email protected]
- Published at: 2026-11-02T03:17:29Z
- Age in days: 22
- Modified at: 2026-11-02T18:18:49Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120316
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| http4k/http4k | security_advisory | yes | /v1/repositories/http4k/http4k |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts