{"id":"CVE-2023-39631","details":"An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.","aliases":["GHSA-f73w-4m7g-ch9x","PYSEC-2023-162","PYSEC-2023-163"],"modified":"2026-08-12T03:30:16.445694794Z","published":"2023-09-01T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39631.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39631.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39631"},{"type":"REPORT","url":"https://github.com/langchain-ai/langchain/issues/8363"},{"type":"REPORT","url":"https://github.com/pydata/numexpr/issues/442"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/langchain-ai/langchain","events":[{"introduced":"944321c6ab9134ffe1483f5b4897254328d3d384"},{"last_affected":"944321c6ab9134ffe1483f5b4897254328d3d384"}],"database_specific":{"extracted_events":[{"introduced":"0.0.245"},{"last_affected":"0.0.245"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:langchain:langchain:0.0.245:*:*:*:*:*:*:*"}}],"versions":["0.0.245","v0.0.245"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-39631.json"}}],"schema_version":"1.9.0"}