{"id":"CVE-2023-36188","details":"An issue in langchain v.0.0.64 allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.","aliases":["GHSA-57fc-8q82-gfp3","PYSEC-2023-109"],"modified":"2026-08-12T03:51:32.621771123Z","published":"2023-07-06T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36188.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36188.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36188"},{"type":"REPORT","url":"https://github.com/hwchase17/langchain/issues/5872"},{"type":"FIX","url":"https://github.com/hwchase17/langchain/pull/6003"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/langchain-ai/langchain","events":[{"introduced":"08400f554215e98f886d4f4a1b98d6029c4b2a02"},{"last_affected":"08400f554215e98f886d4f4a1b98d6029c4b2a02"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:langchain:langchain:0.0.64:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.0.64"},{"last_affected":"0.0.64"}]}}],"versions":["0.0.64","v0.0.64"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-36188.json"}}],"schema_version":"1.9.0"}