{"id":"CVE-2024-27444","aliases":["CVE-2024-27444","GHSA-v8vj-cv27-hjv8","PYSEC-2026-375"],"related":[],"kind":"vulnerability","state":"published","title":"LangChain Experimental vulnerable to arbitrary code execution","summary":"langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute in Python code. These are not prohibited by pal_chain/base.py.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute in Python code. These are not prohibited by pal_chain/base.py.","source":"cvelist"},{"lang":"en","text":"langchain_experimental (aka LangChain Experimental) before 0.0.52, part of LangChain before 0.1.8, allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the `__import__`, `__subclasses__`, `__builtins__`, `__globals__`, `__getattribute__`, `__bases__`, `__mro__`, or `__base__` attribute in Python code. These are not prohibited by `pal_chain/base.py`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"langchain_experimental (también conocido como LangChain Experimental) en LangChain anterior a 0.1.8 permite a un atacante eludir la corrección CVE-2023-44467 y ejecutar código arbitrario a través de the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute en código Python. Estos no están prohibidos por pal_chain/base.py.","source":"nvd"}],"published":"2024-02-26T00:00:00.000Z","modified":"2026-10-27T17:00:04.002Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-749"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.1.8","status":"affected"}],"vendor":"langchain","product":"langchain_experimental","cpe":"cpe:2.3:a:langchain:langchain_experimental:*:*:*:*:*:python:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.52"}],"ecosystem":"PyPI","package":"langchain-experimental","purl":"pkg:pypi/langchain-experimental","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.1.8"}],"vendor":"langchain","product":"langchain-experimental","cpe":"cpe:2.3:a:langchain:langchain-experimental:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.52"}],"ecosystem":"PyPI","package":"langchain-experimental","purl":"pkg:pypi/langchain-experimental","source":"pysec"}],"references":[{"url":"https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27444","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2026-375.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/langchain-experimental","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-v8vj-cv27-hjv8","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-08-06T13:45:35.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27444","url":"https://www.cve.org/CVERecord?id=CVE-2024-27444","licence":"CVE Terms of Use","modified":"2024-08-06T15:13:44.695Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v8vj-cv27-hjv8","url":"https://github.com/advisories/GHSA-v8vj-cv27-hjv8","licence":"CC-BY-4.0","modified":"2026-10-27T17:00:04.002Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27444","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27444","licence":"Public domain","modified":"2026-06-17T07:19:54.800Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-375","url":"https://osv.dev/vulnerability/PYSEC-2026-375","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:55.398Z"}],"updatedAt":"2026-11-25T22:58:37.062Z","epss":{"score":0.00766,"percentile":0.56711,"date":"2026-12-01T12:00:22.000Z"}}