Vulnerabilities > Langchain > Langchain > 0.0.93

DATE CVE VULNERABILITY TITLE RISK
2024-10-29 CVE-2024-7042 SQL Injection vulnerability in Langchain
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.
network
low complexity
langchain CWE-89
critical
9.8
2024-06-06 CVE-2024-2965 Unspecified vulnerability in Langchain
A Denial-of-Service (DoS) vulnerability exists in the `SitemapLoader` class of the `langchain-ai/langchain` repository, affecting all versions.
local
high complexity
langchain
4.7
2024-03-04 CVE-2024-28088 Path Traversal vulnerability in Langchain
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.
network
low complexity
langchain CWE-22
8.1
2024-02-26 CVE-2024-0243 Unspecified vulnerability in Langchain
With the following crawler configuration: ```python 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://example.com` could place a malicious HTML file in there with links like "https://example.completely.different/my_file.html" and the crawler would proceed to download that file as well even though `prevent_outside=True`. https://github.com/langchain-ai/langchain/blob/bf0b3cc0b5ade1fb95a5b1b6fa260e99064c2e22/libs/community/langchain_community/document_loaders/recursive_url_loader.py#L51-L51 Resolved in https://github.com/langchain-ai/langchain/pull/15559
network
high complexity
langchain
8.1
2023-10-20 CVE-2023-32786 Injection vulnerability in Langchain
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.
network
low complexity
langchain CWE-74
7.5
2023-10-19 CVE-2023-46229 Server-Side Request Forgery (SSRF) vulnerability in Langchain
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.
network
low complexity
langchain CWE-918
8.8
2023-08-15 CVE-2023-38896 Injection vulnerability in Langchain
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.
network
low complexity
langchain CWE-74
critical
9.8
2023-08-15 CVE-2023-39659 Injection vulnerability in Langchain
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.
network
low complexity
langchain CWE-74
critical
9.8
2023-04-05 CVE-2023-29374 Injection vulnerability in Langchain
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
network
low complexity
langchain CWE-74
critical
9.8