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 con
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. (A patch is available as of release 0.1.29 of langchain-core.)
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | langchain | < 0.0.339 | 0.0.339 |
| Python (PyPI) | langchain-core | < 0.1.11 | 0.1.11 |
Referencias
- https://github.com/PinkDraconian/PoC-Langchain-RCE/blob/main/README.md
- https://github.com/langchain-ai/langchain/blob/f96dd57501131840b713ed7c2e86cbf1ddc2761f/libs/core/langchain_core/utils/loading.py
- https://nvd.nist.gov/vuln/detail/CVE-2024-28088
- https://github.com/langchain-ai/langchain/pull/18600
- https://github.com/langchain-ai/langchain/commit/e1924b3e93d513ca950c72f8e80e1c133749fba5
- https://github.com/langchain-ai/langchain
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-core/PYSEC-2024-45.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2024-43.yaml
- https://github.com/advisories/GHSA-h59x-p739-982c
- Debilidad (CWE)
-- Plataforma
- Python (PyPI)
- Paquete
langchain, langchain-core- Publicada
- 04.03.2024
- Actualizado
- 11.10.2026 12:20
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2024-43 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-h59x-p739-982c - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-45 - PyPA Advisory Database; CC BY 4.0
Historial de vulnerabilidades: langchain
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 22
- Primera → última
- 04.2023 06.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 12
- Alta 4
- Media 4
- Baja 2
Divulgaciones por año
- 2023: 15
- 2024: 5
- 2025: 0
- 2026: 2
-
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 con esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.