{
 "id": "AIR-2023-0062",
 "slug": "cve-2023-39631-langchain-arbitrary-code-execution-via-numexp",
 "title": "CVE-2023-39631: LangChain arbitrary code execution via numexpr",
 "summary": "An issue in LangChain allowed remote code execution via the evaluate function in the optional numexpr dependency. Patches were released to fix the vulnerability.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "LangChain",
  "numexpr"
 ],
 "incident_date": "2023-09-01",
 "incident_date_precision": "day",
 "first_reported": "2023-09-01",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-f73w-4m7g-ch9x",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2023-39631: Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library",
   "published_at": "2023-09-01"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-39631",
   "publisher": "NVD",
   "title": "CVE-2023-39631: An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the…",
   "published_at": "2023-09-01"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2023-39631",
  "rce",
  "langchain",
  "numexpr"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
