{"cve":"CVE-2023-38896","nvd":{"published":"2023-08-15T17:15:12.027","modified":"2026-06-17T06:11:16.837","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-74"],"references":["https://github.com/hwchase17/langchain/issues/5872","https://github.com/hwchase17/langchain/pull/6003","https://twitter.com/llm_sec/status/1668711587287375876","https://github.com/hwchase17/langchain/issues/5872","https://github.com/hwchase17/langchain/pull/6003"],"products":["langchain:langchain"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-38896","score":0.01838,"percentile":0.78955,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-92j5-3459-qgp4","url":"https://osv.dev/vulnerability/GHSA-92j5-3459-qgp4","summary":"LangChain vulnerable to arbitrary code execution","modified":"2024-09-27T21:48:10.474794Z","packages":[{"ecosystem":"PyPI","name":"langchain","purl":"pkg:pypi/langchain","ranges":["<0.0.236"],"fixed":["0.0.236"]}]},{"id":"PYSEC-2023-146","url":"https://osv.dev/vulnerability/PYSEC-2023-146","summary":"","modified":"2026-06-10T17:01:59.667484695Z","packages":[{"ecosystem":"PyPI","name":"langchain","purl":"pkg:pypi/langchain","ranges":["<0.0.195"],"fixed":["0.0.195"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}