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 filesystem, overwrite existing text files, read .txt files, and delete files. The vulnerability is exploite...
Vendor
@langchain vulnerabilities
53 published CVES affecting @langchain, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 53
- Critical
- 22
- High
- 18
- Medium
- 10
- Low
- 3
- Unscored
- 0
- CISA KEV
- 0
Products
- langchain 28
- langchain experimental 5
- langchain core 4
- langchain-experimental 4
- @langchain/community 3
- langchain_community 3
- langchain.js 2
- langsmith 2
- @langchain/core 1
- @langchain/langgraph-checkpoint-mongodb 1
- @langchain/langgraph-checkpoint-redis 1
- langchain-openai 1
- langchain-text-splitters 1
- langchaincore 1
- langgraph 1
- langgraph-checkpoint 1
- langgraph-checkpoint-sqlite 1
- langgraph-sdk 1
- mongodb 1
- redis 1
Latest @langchain CVEs
Newest publication first · page 2 of 3
-
CriticalCVSS 9.1 EPSS 0.75%
-
CriticalCVSS 9.8 EPSS 2.1%
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 LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023...
-
HighCVSS 7.8 EPSS 0.55%
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 arbitrary commands via the os.system function. The issue affects the latest version of the product.
-
HighCVSS 8.5 EPSS 2.9%
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 attempt to call 'eval' on all values. An attacker can exploit this vulnerability and execute arbitrary p...
-
HighCVSS 7.8 EPSS 0.35%
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 fix for CVE-2024-27444.
-
MediumCVSS 4.7 EPSS 0.26%
A Denial-of-Service (DoS) vulnerability exists in the SitemapLoader class of the langchain-ai/langchain repository, affecting all versions. The parse_sitemap method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitem...
-
HighCVSS 7.7 EPSS 0.75%
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 Research Retriever does not restrict requests to remote internet addresses, allowing it to reach loc...
-
HighCVSS 8.8 EPSS 2.5%
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 attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potenti...
-
MediumCVSS 5.9 EPSS 0.87%
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 entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory r...
-
HighCVSS 8.1 EPSS 2.3% PoC
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...
-
CriticalCVSS 9.8 EPSS 0.80%
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_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side...
-
CriticalCVSS 9.8 EPSS 1.2%
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, subclasses, builtins, globals, getattribute, bases, mro, or base attribute in Python code. These are not pr...
-
HighCVSS 8.1 EPSS 0.57%
With the following crawler configuration: from bs4 import BeautifulSoup as Soup url = "https://example.com" loader = RecursiveUrlLoader( url=url, max_depth=2, extractor=lambda x: Soup(x, "html.parser").text ) docs = loader.load() An attacker in control of the contents of https://...
-
HighCVSS 7.5 EPSS 0.75%
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 content into downstream tasks.
-
HighCVSS 8.8 EPSS 0.94%
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.
-
CriticalCVSS 9.8 EPSS 1.2%
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 Python code, which is not prohibited by pal_chain/base.py.
-
CriticalCVSS 9.8 EPSS 1.7%
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.
-
CriticalCVSS 9.8 EPSS 3.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.
-
CriticalCVSS 9.8 EPSS 1.7%
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.
-
CriticalCVSS 9.8 EPSS 1.6%
An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.
-
CriticalCVSS 9.8 EPSS 2.1%
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.
-
CriticalCVSS 9.8 EPSS 1.4%
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 and from_colored_object_prompt.
-
HighCVSS 7.5 EPSS 1.0%
SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.
-
CriticalCVSS 9.8 EPSS 1.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.
-
CriticalCVSS 9.8 EPSS 1.3%
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.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.