Approved changes feed: RSS · Atom

cpe:2.3:a:langchain-ai:langchain-ai/langchain:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorLangchain Ai (95fad776-1fab-55af-bd3a-6177850e04d4)
ProductLangchain Ai/Langchain (8fd27c47-c32d-54d0-9495-cf544fd8a3a0)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2025-8709 vulnerable 2026-06-08 07:45:21.017198 SQL Injection in langchain-ai/langchain
HIGH (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-checkpoint-sqlite 2.0.10. The vulnerability arises from improper handling of filter operators ($eq, $ne, $gt, $lt, $gte, $lte) where direct string concatenation is used without proper parameterization. This allows attackers to inject arbitrary SQL, leading to unauthorized access to all documents, data exfiltration of sensitive fields such as passwords and API keys, and a complete bypass of application-level security filters.
Published: 2025-10-26T05:38:55.335Z
Updated: 2025-10-28T14:32:39.540Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-6985 vulnerable 2026-06-08 07:43:16.798049 XXE Vulnerability in langchain-ai/langchain
HIGH (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 because the class allows the use of arbitrary XSLT stylesheets, which are parsed using lxml.etree.parse() and lxml.etree.XSLT() without any hardening measures. In lxml versions up to 4.9.x, external entities are resolved by default, allowing attackers to read arbitrary local files or perform outbound HTTP(S) fetches. In lxml versions 5.0 and above, while entity expansion is disabled, the XSLT document() function can still read any URI unless XSLTAccessControl is applied. This vulnerability allows remote attackers to gain read-only access to any file the LangChain process can reach, including sensitive files such as SSH keys, environment files, source code, or cloud metadata. No authentication, special privileges, or user interaction are required, and the issue is exploitable in default deployments that enable custom XSLT.
Published: 2025-10-06T17:58:29.078Z
Updated: 2025-10-06T18:10:28.811Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-6984 vulnerable 2026-06-08 07:43:16.797702 Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain
HIGH (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 is 0.3.63. The vulnerability arises from the use of etree.iterparse() without disabling external entity references, which can lead to sensitive information disclosure. An attacker could exploit this by crafting a malicious XML payload that references local files, potentially exposing sensitive data such as /etc/passwd.
Published: 2025-09-04T08:07:41.996Z
Updated: 2025-09-04T20:07:31.531Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-2828 vulnerable 2026-06-08 07:16:58.442830 SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
HIGH (8.4)
A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package (specifically, langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit) in langchain-ai/langchain version 0.0.27. This vulnerability occurs because the toolkit does not enforce restrictions on requests to remote internet addresses, allowing it to also access local addresses. As a result, an attacker could exploit this flaw to perform port scans, access local services, retrieve instance metadata from cloud environments (e.g., Azure, AWS), and interact with servers on the local network. This issue has been fixed in version 0.0.28.
Published: 2025-06-23T20:42:28.639Z
Updated: 2025-06-24T13:32:19.925Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-8309 vulnerable 2026-06-08 07:00:24.208643 SQL Injection in langchain-ai/langchain
MEDIUM (4.9)
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 unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.
Published: 2024-10-29T12:50:13.198Z
Updated: 2025-10-15T12:50:40.456Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-5998 vulnerable 2026-06-08 06:58:17.149744 Deserialization of Untrusted Data in langchain-ai/langchain
MEDIUM (5.2)
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.
Published: 2024-09-17T11:50:13.813Z
Updated: 2024-09-17T13:34:15.648Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-3571 vulnerable 2026-06-08 06:43:50.328201 Path Traversal in langchain-ai/langchain
MEDIUM (6.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, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.
Published: 2024-04-16T00:00:15.193Z
Updated: 2024-08-01T20:12:07.801Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-3095 vulnerable 2026-06-08 06:41:52.393534 SSRF in Langchain Web Research Retriever in langchain-ai/langchain
MEDIUM (4.8)
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 local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data. This could potentially lead to arbitrary code execution, depending on the nature of the local services. The vulnerability is limited to GET requests, as POST requests are not possible, but the impact on confidentiality, integrity, and availability is significant due to the potential for stolen credentials and state-changing interactions with internal APIs.
Published: 2024-06-06T18:28:56.403Z
Updated: 2024-08-01T19:32:42.601Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-2965 vulnerable 2026-06-08 06:35:27.850174 Denial-of-Service in LangChain SitemapLoader in langchain-ai/langchain
MEDIUM (4.2)
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 sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.
Published: 2024-06-06T18:52:54.353Z
Updated: 2025-10-15T12:50:22.559Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-1455 vulnerable 2026-06-08 06:25:40.125361 Billion Laughs Attack leading to DoS in langchain-ai/langchain
MEDIUM (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 entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory resources, leading to a denial of service (DoS).
Published: 2024-03-26T14:03:46.647Z
Updated: 2024-08-15T15:56:19.154Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-10940 vulnerable 2026-06-08 06:23:48.241423 Exposure of Sensitive System Information via ImagePromptTemplate in langchain-ai/langchain
MEDIUM (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 issue arises from the ability to create langchain_core.prompts.ImagePromptTemplate's (and by extension langchain_core.prompts.ChatPromptTemplate's) with input variables that can read any user-specified path from the server file system. If the outputs of these prompt templates are exposed to the user, either directly or through downstream model outputs, it can lead to the exposure of sensitive information.
Published: 2025-03-20T10:08:48.628Z
Updated: 2025-03-20T19:02:58.871Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-0243 vulnerable 2026-06-08 06:22:00.101490 Server-side Request Forgery In Recursive URL Loader
LOW (3.7)
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
Published: 2024-02-24T17:59:26.498Z
Updated: 2025-04-22T16:14:26.674Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.