{
 "id": "AIR-2023-0051",
 "slug": "cve-2023-36258-langchain-arbitrary-code-execution-vulnerabil",
 "title": "CVE-2023-36258: Langchain arbitrary code execution vulnerability",
 "summary": "An issue in Langchain permits arbitrary code execution through the PALChain component via python exec. A patch has been released to address the flaw.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "Langchain"
 ],
 "incident_date": "2023-07-03",
 "incident_date_precision": "day",
 "first_reported": "2023-07-03",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-2qmj-7962-cjq8",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2023-36258: langchain arbitrary code execution vulnerability",
   "published_at": "2023-07-03"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36258",
   "publisher": "NVD",
   "title": "CVE-2023-36258: An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or…",
   "published_at": "2023-07-03"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2023-36258",
  "rce",
  "langchain"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
