{"id":"GHSA-gjjr-63x4-v8cq","summary":"langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method","details":"langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.","aliases":["CVE-2023-44467","PYSEC-2023-194"],"modified":"2025-02-24T21:11:57.963548Z","published":"2023-10-09T21:30:27Z","database_specific":{"github_reviewed_at":"2023-10-10T21:19:42Z","nvd_published_at":"2023-10-09T20:15:10Z","cwe_ids":[],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44467"},{"type":"WEB","url":"https://github.com/langchain-ai/langchain/pull/11233"},{"type":"WEB","url":"https://github.com/langchain-ai/langchain/commit/4c97a10bd0d9385cfee234a63b5bd826a295e483"},{"type":"PACKAGE","url":"https://github.com/langchain-ai/langchain"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2023-194.yaml"},{"type":"WEB","url":"https://pypi.org/project/langchain-experimental/0.0.14"}],"affected":[{"package":{"name":"langchain-experimental","ecosystem":"PyPI","purl":"pkg:pypi/langchain-experimental"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.14"}]}],"versions":["0.0.1","0.0.10","0.0.11","0.0.12","0.0.13","0.0.14","0.0.1rc1","0.0.1rc2","0.0.1rc3","0.0.1rc4","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-gjjr-63x4-v8cq/GHSA-gjjr-63x4-v8cq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}