{
  "id": "CVE-2026-120316",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-120316",
  "published_at": "2026-11-02T02:01:14.357Z",
  "title": "http4k before 6.62.0.0-ee Path Traversal via ThymeleafTemplates Template Resolution",
  "vendor": "http4k",
  "product": "http4k",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "http4k",
        "product": "http4k",
        "ranges": [
          "\u003c 6.62.0.0-ee"
        ],
        "fixed_in": [
          "6.62.0.0-ee"
        ]
      }
    ],
    "upgrade": [
      "Upgrade http4k to 6.62.0.0-ee or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/http4k/http4k/security/advisories/GHSA-wq4x-r858-gmmj"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
