{"id":"CVE-2023-34541","aliases":["GHSA-6643-h7h5-x9wh","PYSEC-2023-92"],"url":"https://o3.security/vulnerability/CVE-2023-34541","summary":"Langchain vulnerable to arbitrary code execution","details":"Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.","published":"2023-06-20T00:00:00Z","modified":"2026-10-28T02:30:31.008915579Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"langchain","fixedVersion":"0.0.247"}],"fix":{"url":"https://github.com/langchain-ai/langchain/pull/8425","label":"langchain-ai/langchain#8425"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34541.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34541"},{"type":"REPORT","url":"https://github.com/hwchase17/langchain/issues/4849"},{"type":"WEB","url":"https://github.com/langchain-ai/langchain/issues/4849"},{"type":"WEB","url":"https://github.com/langchain-ai/langchain/issues/4849#issuecomment-1697896569"},{"type":"WEB","url":"https://github.com/langchain-ai/langchain/pull/8425"},{"type":"WEB","url":"https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751"},{"type":"PACKAGE","url":"https://github.com/langchain-ai/langchain"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-92.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:31.008915579Z"}}