All reports
Low

LangChain directory traversal vulnerability

Affected versions

Version ranges need review.

Affected versions
<0.1.11
Fixed version
0.1.11
Affected versions
>= 0, < 0.1.30
Fixed version
0.1.30
Affected versions
< 0.0.339
Fixed version
0.0.339
Affected versions
<0.1.11
Fixed version
0.1.11

Exploitation

CVE-2024-28088

Probability of exploitation in the next 30 days: 1.73%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • levpachmanov