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.)
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | langchain | < 0.0.339 | 0.0.339 |
| Python (PyPI) | langchain-core | < 0.1.11 | 0.1.11 |
Verweise
- 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
- Schwäche (CWE)
-- Plattform
- Python (PyPI)
- Paket
langchain, langchain-core- Veröffentlicht
- 04.03.2024
- Aktualisiert
- 11.10.2026 12:20
Quellen und Lizenzen
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
Schwachstellenhistorie: langchain
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 22
- Erste → letzte
- 04.2023 06.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 12
- Hoch 4
- Mittel 4
- Niedrig 2
Veröffentlichungen pro Jahr
- 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 dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.