LangChainPublished 9 Oct 2023NVD status: Modified

CVE-2023-44467

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…

ComponentLangChain (langchain-experimental)
Severitycritical (CVSS 9.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2023-10-09
Last modified2026-06-17
Affected versions
< 0.0.306
read from the advisory text: no structured source gives these versions yet
Fixed in0.0.306
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads = 0.0.14. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.

NVD description

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.

What to do

  • Upgrade LangChain to 0.0.306 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources