Vulnerability

CVE-2024-28088

highCVSS 3.1 8.1Published 4 Mar 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.)

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Langchain langchain

Weakness type

References

  • github.com /PinkDraconian/PoC-Langchain-RCE/blob/main/README.md
  • github.com /langchain-ai/langchain/blob/f96dd57501131840b713ed7c2e86cb…
  • github.com /langchain-ai/langchain/pull/18600

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning