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.)
Metrics
Affected Vendors & Products
References
History
Mon, 26 Aug 2024 21:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-31 | |
Metrics |
cvssV3_1
|
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2024-03-03T00:00:00
Updated: 2024-08-26T19:44:45.330Z
Reserved: 2024-03-03T00:00:00
Link: CVE-2024-28088
Vulnrichment
Updated: 2024-08-02T00:48:48.940Z
NVD
Status : Awaiting Analysis
Published: 2024-03-04T00:15:47.017
Modified: 2024-08-26T20:35:16.413
Link: CVE-2024-28088
Redhat
No data.