Orchestration library · NVD + CISA KEV

LangChain CVEs

Every vulnerability NIST NVD lists for LangChain, newest first, matched on the exact phrase “langchain” and refreshed every 6 hours. Entries listed in CISA KEV are exploited in the wild: patch those first. Newest entry: 2026-10-06.

59
LangChain CVEs
6
last 30 days
3
critical, 30 days
0
exploited in the wild
newest first

All LangChain CVEs

Alert me on LangChain
medium
CVE-2026-106119CVSS 6

LangChain is a framework for building LLM-powered applications. Prior to 1.3.1, MongoDBChatMessageHistory does not enforce the documented string type for an untrusted structured se...

LangChain
2026-10-06
low
CVE-2026-105799CVSS 2.3

LangChain is a framework for building LLM-powered applications. Prior to 1.1.1, @langchain/redis does not escape attacker-controlled values in structured RediSearch TAG filters and...

LangChain
2026-10-06
critical
CVE-2026-51884CVSS 9.8

The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker ca...

LangChain
2026-10-01
critical
CVE-2026-51883CVSS 9.1

The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal. An attacker can inject path traversal sequences (such...

LangChain
2026-10-01
critical
CVE-2026-51882CVSS 9.1

The OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0 is vulnerable to path traversal. An attacker can write files to arbitrary locations outside the `...

LangChain
2026-10-01
high
CVE-2026-55253CVSS 7.7

LangChain MongoDB provides integrations between MongoDB, Atlas, LangChain, and LangGraph. Prior to langgraph-checkpoint-mongodb 0.3.0 and langgraph-store-mongodb 0.4.0, MongoDBSave...

LangGraph, LangChain
2026-09-14
low
CVE-2026-14742CVSS 3.1

A vulnerability was determined in langchain-ai langgraph up to 1.2.4. The affected element is the function _freeze of the file libs/langgraph/langgraph/_internal/_cache.py of the c...

LangGraph, LangChain
2026-07-05
medium
CVE-2026-55443CVSS 5.1

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.3.9, several LangChain components that resolve filesystem paths or expand search patterns do n...

LangChain
2026-06-22
high
CVE-2026-44843CVSS 8.2

LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.85 and 1.3.3, LangChain contains older runtime code paths that deserialize run inputs, run o...

LangChain
2026-05-26
low
CVE-2026-7847CVSS 2.6

A vulnerability was found in chatchat-space Langchain-Chatchat up to 0.3.1.3. The affected element is the function _get_file_id of the file libs/chatchat-server/chatchat/server/api...

LangChain
2026-05-05
low
CVE-2026-7846CVSS 2.6

A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai...

LangChain
2026-05-05
low
CVE-2026-7845CVSS 2.6

A flaw has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. This issue affects the function PIL.Image.tobytes of the file libs/chatchat-server/chatchat/webui_pages/di...

LangChain
2026-05-05
medium
CVE-2026-7844CVSS 6.3

A vulnerability was detected in chatchat-space Langchain-Chatchat up to 0.3.1.3. This vulnerability affects the function files/list_files/retrieve_file/retrieve_file_content/delete...

LangChain
2026-05-05
low
CVE-2026-41488CVSS 3.1

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's _url_to_size() helper (used by get_num_tokens_from_messages for image...

LangChain
2026-04-24
medium
CVE-2026-41481CVSS 6.5

LangChain is a framework for building agents and LLM-powered applications. Prior to langchain-text-splitters 1.1.2, HTMLHeaderTextSplitter.split_text_from_url() validated the init...

LangChain
2026-04-24
high
CVE-2026-30617CVSS 8.6

LangChain-ChatChat 0.3.1 contains a remote code execution vulnerability in its MCP STDIO server configuration and execution handling. A remote attacker can access the publicly expo...

LangChain
2026-04-15
medium
CVE-2026-40087CVSS 5.3

LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's f-string prompt-template validation was incomplete in two respect...

LangChain
2026-04-09
high
CVE-2026-34070CVSS 7.5

LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions in langchain_core.prompts.loading read files from paths embed...

LangChain
2026-03-31
medium
CVE-2026-27795CVSS 4.1

LangChain is a framework for building LLM-powered applications. Prior to version 1.1.8, a redirect-based Server-Side Request Forgery (SSRF) bypass exists in `RecursiveUrlLoader` in...

LangChain
2026-02-25
medium
CVE-2026-26019CVSS 4.1

LangChain is a framework for building LLM-powered applications. Prior to 1.1.14, the RecursiveUrlLoader class in @langchain/community is a web crawler that recursively follows link...

LangChain
2026-02-11
low
CVE-2026-26013CVSS 3.7

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.2.11, the ChatOpenAI.get_num_tokens_from_messages() method fetches arbitrary image_url values...

LangChain
2026-02-10
high
CVE-2024-58340CVSS 7.5

LangChain versions up to and including 0.3.1 contain a regular expression denial-of-service (ReDoS) vulnerability in the MRKLOutputParser.parse() method (libs/langchain/langchain/a...

LangChain
2026-01-12
high
CVE-2025-68665CVSS 8.6

LangChain is a framework for building LLM-powered applications. Prior to @langchain/core versions 0.3.80 and 1.1.8, and prior to langchain versions 0.3.37 and 1.2.3, a serializatio...

LangChain
2025-12-23
critical
CVE-2025-68664CVSS 9.3

LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps()...

LangChain
2025-12-23
high
CVE-2025-65106CVSS 8.3

LangChain is a framework for building agents and LLM-powered applications. From versions 0.3.79 and prior and 1.0.0 to 1.0.6, a template injection vulnerability exists in LangChain...

LangChain
2025-11-21
high
CVE-2025-8709CVSS 7.3

A SQL injection vulnerability exists in the langchain-ai/langchain repository, specifically in the LangGraph's SQLite store implementation. The affected version is langgraph-checkp...

LangGraph, LangChain
2025-10-26
high
CVE-2025-6985CVSS 7.5

The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML External Entity (XXE) attacks due to unsafe XSLT parsing. This vulnerability arises bec...

LangChain
2025-10-06
high
CVE-2025-6984CVSS 7.5

The langchain-ai/langchain project, specifically the EverNoteLoader component, is vulnerable to XML External Entity (XXE) attacks due to insecure XML parsing. The affected version...

LangChain
2025-09-04
critical
CVE-2025-46059CVSS 9.8

langchain-ai v0.3.51 was discovered to contain an indirect prompt injection vulnerability in the GmailToolkit component. This vulnerability allows attackers to execute arbitrary co...

LangChain
2025-07-29
critical
CVE-2025-2828CVSS 10

A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package (specifically, langchain_community.agent_toolkits.open...

LangChain
2025-06-23
medium
CVE-2024-10940CVSS 5.3

A vulnerability in langchain-core versions >=0.1.17,<0.1.53, >=0.2.0,<0.2.43, and >=0.3.0,<0.3.15 allows unauthorized users to read arbitrary files from the host file system. The i...

LangChain
2025-03-20
critical
CVE-2024-8309CVSS 9.8

A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to unauthoriz...

LangChain
2024-10-29
critical
CVE-2024-7774CVSS 9.1

A path traversal vulnerability exists in the `getFullPath` method of langchain-ai/langchainjs version 0.2.5. This vulnerability allows attackers to save files anywhere in the files...

LangChain
2024-10-29
critical
CVE-2024-7042CVSS 9.8

A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. T...

LangChain
2024-10-29
critical
CVE-2024-46946CVSS 9.8

langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymb...

LangChain
2024-09-19
high
CVE-2024-5998CVSS 7.8

A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitr...

LangChain
2024-09-17
high
CVE-2024-21513CVSS 8.5

Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when retrieving values from the database, the code will atte...

LangChain
2024-07-15
high
CVE-2024-38459CVSS 7.8

langchain_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides Python REPL access without an opt-in step. NOTE; this issue exists because of an incomplete...

LangChain
2024-06-16
high
CVE-2024-3095CVSS 7.7

A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web...

LangChain
2024-06-06
high
CVE-2024-3571CVSS 8.8

langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An...

LangChain
2024-04-16
medium
CVE-2024-1455CVSS 5.9

A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entitie...

LangChain
2024-03-26
high
CVE-2024-28088CVSS 8.1

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

LangChain
2024-03-04
medium
CVE-2024-2057CVSS 6.3

A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_c...

LangChain
2024-03-01
critical
CVE-2024-27444CVSS 9.8

langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __s...

LangChain
2024-02-26
high
CVE-2023-32786CVSS 7.5

In Langchain through 0.0.155, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting...

LangChain
2023-10-20
high
CVE-2023-46229CVSS 8.8

LangChain before 0.0.317 allows SSRF via document_loaders/recursive_url_loader.py because crawling can proceed from an external server to an internal server.

LangChain
2023-10-19
critical
CVE-2023-44467CVSS 9.8

langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Pyt...

LangChain
2023-10-09
critical
CVE-2023-39631CVSS 9.8

An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.

LangChain
2023-09-01
critical
CVE-2023-36281CVSS 9.8

An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This is related to __subclasses__ or a template.

LangChain
2023-08-22
critical
CVE-2023-39659CVSS 9.8

An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.

LangChain
2023-08-15
critical
CVE-2023-38896CVSS 9.8

An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.

LangChain
2023-08-15
critical
CVE-2023-38860CVSS 9.8

An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.

LangChain
2023-08-15
critical
CVE-2023-36095CVSS 9.8

An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt a...

LangChain
2023-08-05
high
CVE-2023-36189CVSS 7.5

SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.

LangChain
2023-07-06
critical
CVE-2023-36188CVSS 9.8

An issue in langchain v.0.0.64 allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.

LangChain
2023-07-06
critical
CVE-2023-36258CVSS 9.8

An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.

LangChain
2023-07-03
critical
CVE-2023-34541CVSS 9.8

Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.

LangChain
2023-06-20
critical
CVE-2023-34540CVSS 9.8

Langchain before v0.0.225 was discovered to contain a remote code execution (RCE) vulnerability in the component JiraAPIWrapper (aka the JIRA API wrapper). This vulnerability allow...

LangChain
2023-06-14
critical
CVE-2023-29374CVSS 9.8

In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.

LangChain
2023-04-05
about LangChain

Sources and further reading