| Package | Affected versions | Patched versions |
|---|---|---|
| langchain | < 0.0.339< 0.1.11 | 0.0.3390.1.11 |
| langchain-core | < 0.1.11< 0.1.30 | 0.1.110.1.30 |
| langchain | < 0.1.12 | 0.1.12 |
LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free