CVE-2026-120316
published high CVSS 4.0 · 8.2http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| http4k | — | http4k0 to < 6.62.0.0-ee (affected · custom) · 6.62.0.0-ee (unaffected · custom) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| http4k | http4k | 0 to < 6.62.0.0-ee (affected · custom)6.62.0.0-ee (unaffected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- GitHub Security Advisory (GHSA-wq4x-r858-gmmj) https://github.com/http4k/http4k/security/advisories/GHSA-wq4x-r858-gmmj
- VulnCheck Advisory: http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution https://www.vulncheck.com/advisories/http4k-before-6.62.0.0-ee-path-traversal-via-thymeleaftemplates-template-resolution
Provider assertions
2VulnCheck · cna
http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e6514eaefd5a7841ee28cc8ca1c867f1aeae5231accd046f47db520c3564b05
- Ingested
- 02 Nov 2026, 17:45:15 UTC
- Source record
- Official CVE record