Junglewise Threat Intelligence

CVE-2024-28088: PYSEC-2024-45 - 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_ch

CVE-2024-28088 · Severity: info · Published 2024-03-04

Technologies: langchain (PyPI), langchain-core (PyPI). Vendors: PyPI.

Executive brief

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

  • PyPI langchain
  • PyPI langchain-core

Related threats