| Component | LangChain (langchain-experimental) |
| Severity | critical (CVSS 9.8) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2023-10-09 |
| Last modified | 2026-06-17 |
| Affected versions | < 0.0.306 read from the advisory text: no structured source gives these versions yet |
| Fixed in | 0.0.306 |
| CISA KEV | not 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.306or later. - Do not expose the component's API or UI to the internet without authentication in front of it.