{"id":"CVE-2023-34541","published":"2023-06-20T00:00:00Z","modified":"2024-12-09T21:11:02Z","title":"Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt","vendor":null,"product":null,"tier":"tail","description":{"text":"Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00935,"percentile":0.61653,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/hwchase17/langchain/issues/4849","tags":[]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":12.33},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-12-09T21:10:29.367555Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langchain","vulnerableRanges":["<0.0.247"],"patched":["0.0.247"],"from":["GHSA-6643-h7h5-x9wh","PYSEC-2023-92"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary code execution vulnerability in the load_prompt function of Langchain version 0.0.171. An attacker can run arbitrary code through this component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:44Z"},"euvd":{"id":"EUVD-2023-0121","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-langchain-ai-langchain-cve-2023-34541","children":[{"from":"CVE-2023-34541","to":"CVE-2024-38459","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libs/experimental/langchain_experimental/pal_chain/base.py"],"commits":["https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751","https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009"],"basis":"shared function","functions":["PALChain"]}]},{"from":"CVE-2023-34541","to":"CVE-2025-2828","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libs/langchain/langchain/agents/load_tools.py"],"commits":["https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751","https://github.com/langchain-ai/langchain/commit/e188d4ecb085d4561a0be3c583d26aa9c2c3283f"],"basis":"shared function","functions":["_get_sleep"]}]}]}}