Vulnerabilities > Langchain > Langchain > 0.0.171

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-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-22 CVE-2023-36281 Code Injection vulnerability in Langchain 0.0.171
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt.
network
low complexity
langchain CWE-94
critical
9.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-06-20 CVE-2023-34541 Unspecified vulnerability in Langchain 0.0.171
Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.
network
low complexity
langchain
critical
9.8
2023-06-14 CVE-2023-34540 Unspecified vulnerability in Langchain 0.0.171
Langchain before v0.0.225 was discovered to contain a remote code execution (RCE) vulnerability in the component JiraAPIWrapper (aka the JIRA API wrapper).
network
low complexity
langchain
critical
9.8