{"id":"CVE-2023-36095","published":"2023-08-05T00:00:00Z","modified":"2026-07-09T00:26:31Z","title":"An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls…","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0117,"percentile":0.68187,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/hwchase17/langchain","tags":[]},{"url":"https://github.com/langchain-ai/langchain/issues/5872","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":13.64}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-17T14:46:57.535168Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langchain","vulnerableRanges":["<0.0.236"],"patched":["0.0.236"],"from":["GHSA-gwqq-6vq7-5j86","PYSEC-2023-138"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary code execution issue in the PALChain component of Harrison Chase's langchain, affecting version 0.0.194, where Python exec calls are used unsafely. It is reachable through the from_math_prompt and from_colored_object_prompt functions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:31Z"},"euvd":{"id":"EUVD-2023-0112","exploited":false,"provenance":"source"}}