{
 "id": "AIR-2024-0105",
 "slug": "cve-2024-34359-llama-cpp-python-remote-code-execution-via-ji",
 "title": "CVE-2024-34359: Llama-cpp-python remote code execution via Jinja2 chat templates",
 "summary": "A vulnerability in llama-cpp-python permits remote code execution via server-side template injection through model metadata. The issue affects how chat templates are loaded and parsed from GGUF files.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln",
  "supply_chain"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling",
  "open_weight_model"
 ],
 "products": [
  "llama-cpp-python"
 ],
 "incident_date": "2024-05-13",
 "incident_date_precision": "day",
 "first_reported": "2024-05-13",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-56xg-wfcc-g829",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2024-34359: llama-cpp-python vulnerable to Remote Code Execution by Server-Side Template Injection in Model Metadata",
   "published_at": "2024-05-13"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-34359",
   "publisher": "NVD",
   "title": "CVE-2024-34359: llama-cpp-python is the Python bindings for llama.cpp.",
   "published_at": "2024-05-14"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2024-34359",
  "llama-cpp-python",
  "rce",
  "gguf"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
