{"id":"CVE-2023-38896","aliases":["GHSA-92j5-3459-qgp4","PYSEC-2023-146"],"url":"https://o3.security/vulnerability/CVE-2023-38896","summary":"LangChain vulnerable to arbitrary code execution","details":"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.","published":"2023-08-15T00:00:00Z","modified":"2026-08-07T11:31:07.585647052Z","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.236"}],"fix":{"url":"https://github.com/hwchase17/langchain/pull/6003","label":"hwchase17/langchain#6003"},"references":[{"type":"WEB","url":"https://twitter.com/llm_sec/status/1668711587287375876"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38896.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38896"},{"type":"REPORT","url":"https://github.com/hwchase17/langchain/issues/5872"},{"type":"FIX","url":"https://github.com/hwchase17/langchain/pull/6003"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:07.585647052Z"}}