LangChain vulnerabilities
CVEs that NVD lists for LangChain, newest first. NVD names the product cpe:2.3:a:langchain:langchain; every CVE here lists a version of it as affected. The CISA KEV column marks the ones CISA lists as exploited in the wild.
Source: the National Vulnerability Database CVE API, https://nvd.nist.gov/developers/vulnerabilities, queried by each product’s CPE name, read weekly. CVEs published since November 27, 2023 (the last three years). Checked: November 27, 2026.
Download: CSV, under CC BY 4.0.
Cite as: CIOPages, “Vulnerabilities in AI software,” https://www.ciopages.com/trackers/ai-software-vulnerabilities/product/langchain, from the NVD CVE API, checked November 27, 2026. CC BY 4.0.
| CVE | Description | Published | CVSS | CWE | CISA KEV | Checked |
|---|---|---|---|---|---|---|
| CVE-2026-55443 | 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 not consistently confine the resolved path to the intended root directory. Affected behaviors… | 2026-06-22 | 5.5 Medium v3.1 | CWE-22, CWE-59 | 2026-11-27 | |
| CVE-2026-44843 | 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 outputs, or other application-controlled payloads using overly broad object allowlists. These paths… | 2026-05-26 | 8.2 High v3.1 | CWE-502 | 2026-11-27 | |
| CVE-2024-58340 | 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/agents/mrkl/output_parser.py). The parser applies a backtracking-prone regular expression when… | 2026-01-12 | 7.5 High v3.1 | CWE-1333 | 2026-11-27 | |
| CVE-2025-2828 | 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… | 2025-06-23 | 10.0 Critical v3.1 | CWE-918 | 2026-11-27 | |
| CVE-2024-8309 | 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… | 2024-10-29 | 9.8 Critical v3.1 | CWE-89, CWE-74 | 2026-11-27 | |
| CVE-2024-7042 | 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. This vulnerability permits unauthorized data manipulation, data exfiltration, denial of service… | 2024-10-29 | 9.8 Critical v3.1 | CWE-89 | 2026-11-27 | |
| CVE-2024-5998 | 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. | 2024-09-17 | 7.8 High v3.1 | CWE-502 | 2026-11-27 | |
| CVE-2024-3095 | 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… | 2024-06-06 | 7.7 High v3.1 | CWE-918 | 2026-11-27 | |
| CVE-2024-2965 | 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… | 2024-06-06 | 4.7 Medium v3.1 | CWE-674 | 2026-11-27 | |
| CVE-2024-3571 | 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… | 2024-04-16 | 8.8 High v3.1 | CWE-22 | 2026-11-27 | |
| CVE-2024-1455 | 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… | 2024-03-26 | 5.9 Medium v3.1 | CWE-776 | 2026-11-27 | |
| CVE-2024-28088 | 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… | 2024-03-04 | 8.1 High v3.1 | CWE-22, CWE-31 | 2026-11-27 | |
| CVE-2024-2057 | 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… | 2024-03-01 | 9.8 Critical v3.1 | CWE-918 | 2026-11-27 | |
| CVE-2024-0243 | 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… | 2024-02-26 | 8.1 High v3.1 | CWE-918 | 2026-11-27 |
More ai frameworks. All AI software.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE links open the National Vulnerability Database. Descriptions are the CNA’s text as NVD publishes it, shortened here to 280 characters; the CSV has it in full. CVSS is the base score NVD lists for one CVE, version 3.1 where given, else 4.0, else 3.0: it is not a rating of a product or its vendor. Rows are ordered by the date NVD published them. The CISA KEV column comes from the CISA Known Exploited Vulnerabilities catalog, checked November 27, 2026. Change log.