{"id":"CVE-2023-36258","aliases":["GHSA-2qmj-7962-cjq8","PYSEC-2023-98"],"url":"https://o3.security/vulnerability/CVE-2023-36258","summary":"langchain arbitrary code execution vulnerability","details":"An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.","published":"2023-07-03T00:00:00Z","modified":"2026-08-12T03:51:42.522678611Z","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.247"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36258.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36258"},{"type":"REPORT","url":"https://github.com/hwchase17/langchain/issues/5872"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:42.522678611Z"}}