{
 "id": "AIR-2023-0058",
 "slug": "cve-2023-39659-langchain-vulnerable-to-arbitrary-code-execut",
 "title": "CVE-2023-39659: LangChain vulnerable to arbitrary code execution",
 "summary": "A remote code execution vulnerability affects LangChain versions prior to 0.0.325 through the PythonAstREPLTool component. A patch was provided by the maintainers.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "langchain"
 ],
 "incident_date": "2023-08-15",
 "incident_date_precision": "day",
 "first_reported": "2023-08-15",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-prgp-w7vf-ch62",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2023-39659: LangChain vulnerable to arbitrary code execution",
   "published_at": "2023-08-15"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-39659",
   "publisher": "NVD",
   "title": "CVE-2023-39659: An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script…",
   "published_at": "2023-08-15"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2023-39659",
  "rce"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
