{
 "id": "AIR-2024-0193",
 "slug": "cve-2024-8309-langchain-graphcypherqachain-sql-injection-vul",
 "title": "CVE-2024-8309: LangChain GraphCypherQAChain SQL injection vulnerability",
 "summary": "A vulnerability in the GraphCypherQAChain class of LangChain permits unauthorized database manipulation via prompt injection. Users are advised to update their packages.",
 "type": "attack_on_ai",
 "categories": [
  "prompt_injection",
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "LangChain"
 ],
 "incident_date": "2024-10-29",
 "incident_date_precision": "day",
 "first_reported": "2024-10-29",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-45pg-36p6-83v9",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2024-8309: Langchain SQL Injection vulnerability",
   "published_at": "2024-10-29"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8309",
   "publisher": "NVD",
   "title": "CVE-2024-8309: A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt…",
   "published_at": "2024-10-29"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2024-8309",
  "sql-injection",
  "prompt-injection"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
