{"id":"CVE-2023-36095","details":"An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.","aliases":["GHSA-gwqq-6vq7-5j86","PYSEC-2023-138"],"modified":"2026-08-12T03:51:30.008255594Z","published":"2023-08-05T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36095.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36095.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36095"},{"type":"REPORT","url":"https://github.com/langchain-ai/langchain/issues/5872"},{"type":"PACKAGE","url":"https://github.com/hwchase17/langchain"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/langchain-ai/langchain","events":[{"introduced":"893d20f735af0387870c9a7c160ef51f34d053ad"},{"last_affected":"893d20f735af0387870c9a7c160ef51f34d053ad"}],"database_specific":{"cpe":"cpe:2.3:a:langchain:langchain:0.0.194:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.0.194"},{"last_affected":"0.0.194"}],"source":"CPE_STRING"}}],"versions":["0.0.194","v0.0.194"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-36095.json"}}],"schema_version":"1.9.0"}