CVE-2026-120316

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductHttp4k
PublishedNov 2, 2026
First seenNov 4, 2026

How to fix

Update
  • http4k http4k6.62.0.0-ee or later

Affected products

ProductAffected versionsFixed in
http4k http4kv < 6.62.0.0-ee6.62.0.0-ee

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.