Skip to content
Medium 8.2

http4kに認証なしで任意のファイルを読まれる脆弱性

CVE-2026-120316 First seen on SecPulse

Summary

http4kのThymeleafTemplates(キャッシュおよびホットリロード機能)に、パストラバーサルの脆弱性が見つかりました。6.62.0.0-eeより前の版が影響を受け、認証なしの攻撃者がテンプレート名に「../」を含めることで、サーバープロセスが読める任意のファイルを閲覧できるおそれがあります。修正版の6.62.0.0-eeに更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

http4kのThymeleafTemplates(キャッシュおよびホットリロード機能)に、パストラバーサルの脆弱性が見つかりました。6.62.0.0-eeより前の版が影響を受け、認証なしの攻撃者がテンプレート名に「../」を含めることで、サーバープロセスが読める任意のファイルを閲覧できるおそれがあります。修正版の6.62.0.0-eeに更新してください。

Affected packages

PackageAffected → Fixed
http4khttp4k
< 6.62.0.0-ee→ 6.62.0.0-ee
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details