LangChainGHSA-wmvm-9vqv-5qpp
langchain_experimental Code Execution via Python REPL access
Fix: upgrade to 0.0.61 or later
langchain_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides Python REPL access without an opt-in step. NOTE; this issue exists because of an incomplete fix for CVE-2024-27444.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| langchain-experimental PyPI | < 0.0.61 | 0.0.61 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-276
- Also known as
- CVE-2024-38459, PYSEC-2024-53
- nvd.nist.gov/vuln/detail/CVE-2024-38459
- github.com/langchain-ai/langchain/pull/22860
- github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
- github.com/langchain-ai/langchain
- github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61
- github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2024-53.yaml