{"id":"CVE-2023-38896","published":"2023-08-15T00:00:00Z","modified":"2024-10-09T13:02:11Z","title":"An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the…","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01822,"percentile":0.79301,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/hwchase17/langchain/issues/5872","tags":[]},{"url":"https://github.com/hwchase17/langchain/pull/6003","tags":[]},{"url":"https://twitter.com/llm_sec/status/1668711587287375876","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-09T13:02:00.530034Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langchain","vulnerableRanges":["<0.0.236","<0.0.195"],"patched":["0.0.236","0.0.195"],"from":["GHSA-92j5-3459-qgp4","PYSEC-2023-146"],"provenance":"source"}],"summary":{"text":"The flaw lies in the LangChain library by Harrison Chase, in version 0.0.194 and earlier, within the from_math_prompt and from_colored_object_prompt functions. An attacker with remote access can exploit it to execute arbitrary code on the affected system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:56Z"},"euvd":{"id":"EUVD-2023-0114","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-29374","published":"2023-04-05","fixed":"0.0.132","kev":false},{"cve":"CVE-2023-34540","published":"2023-06-14","fixed":"0.0.225","kev":false},{"cve":"CVE-2023-36095","published":"2023-08-05","fixed":"0.0.236","kev":false},{"cve":"CVE-2023-38896","published":"2023-08-15","fixed":"0.0.236","kev":false},{"cve":"CVE-2023-34541","published":"2023-06-20","fixed":"0.0.247","kev":false},{"cve":"CVE-2023-36188","published":"2023-07-06","fixed":"0.0.247","kev":false},{"cve":"CVE-2023-36189","published":"2023-07-06","fixed":"0.0.247","kev":false},{"cve":"CVE-2023-36281","published":"2023-08-22","fixed":"0.0.312","kev":false,"link":{"from":"CVE-2023-36281","to":"CVE-2023-38896","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langchain","fromFixed":"0.0.171","toFixed":"0.0.195","daysApart":-7}]}},{"cve":"CVE-2023-39659","published":"2023-08-15","fixed":"0.0.325","kev":false,"link":{"from":"CVE-2023-39659","to":"CVE-2023-38896","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langchain","fromFixed":"0.0.233","toFixed":"0.0.236","daysApart":0}]}}],"package":"PyPI:langchain"}}