GHSA-wmvm-9vqv-5qpp
langchain_experimental Code Execution via Python REPL access
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | langchain-experimental | < 0.0.61 | 0.0.61 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-38459
- https://github.com/langchain-ai/langchain/pull/22860
- https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
- https://github.com/langchain-ai/langchain
- https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2024-53.yaml