{
 "id": "AIR-2025-0213",
 "slug": "cve-2024-10940-langchain-core-arbitrary-file-read-vulnerabil",
 "title": "CVE-2024-10940: LangChain-core arbitrary file read vulnerability",
 "summary": "A vulnerability in LangChain-core enables unauthorized users to read arbitrary files from the host file system via specific prompt templates. Exposure of prompt outputs can lead to sensitive information disclosure.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln",
  "data_leak"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "langchain-core"
 ],
 "incident_date": "2025-03-20",
 "incident_date_precision": "day",
 "first_reported": "2025-03-20",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-5chr-fjjv-38qv",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2024-10940: langchain-core allows unauthorized users to read arbitrary files from the host file system",
   "published_at": "2025-03-20"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-10940",
   "publisher": "NVD",
   "title": "CVE-2024-10940: A vulnerability in langchain-core versions >=0.1.17,<0.1.53, >=0.2.0,<0.2.43, and >=0.3.0,<0.3.15 allows unauthorized users to…",
   "published_at": "2025-03-20"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2024-10940",
  "arbitrary-file-read"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
