Loading advisory.
Loading advisory.
LangChain directory traversal vulnerability
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.
Published 2024-03-03 00:00 UTC · Modified 2026-06-10 17:02 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| langchain | PyPI | < 0.0.339 < 0.1.11 versions 0.0.1, 0.0.10, 0.0.100, 0.0.101, 0.0.101rc0, 0.0.102, 0.0.102rc0, 0.0.103, 0.0.104, 0.0.105, 0.0.106, 0.0.107, 0.0.108, 0.0.109, 0.0.11, 0.0.110, 0.0.111, 0.0.112, 0.0.113, 0.0.114 and 356 more | 0.0.339, 0.1.11 | pip install --upgrade 'langchain>=0.0.339'pip install --upgrade 'langchain>=0.1.11' |
| langchain-core | PyPI | < 0.1.30 < 0.1.11 versions 0.0.1, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.13rc1, 0.0.13rc2, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.1.0, 0.1.1, 0.1.10, 0.1.11, 0.1.12 and 28 more | 0.1.30, 0.1.11 | pip install --upgrade 'langchain-core>=0.1.30'pip install --upgrade 'langchain-core>=0.1.11' |
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.017 on 2026-11-24 to 0.023 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.017 | first score | v2026.06.15 |
| 2026-11-26 | 0.023 | 0.017 | v2026.06.15 |