Approved changes feed: RSS · Atom

cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorLangchain (3bec1db6-30f1-5f7c-8067-d161076b8e16)
ProductLangchain (470aaf7d-9be4-5ab2-a1f8-1df85c8b7784)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/hwchase17/langchain purl2cpe 2026-06-01 10:15:38.814852
pkg:npm/langchain purl2cpe 2026-06-01 10:15:38.814854
pkg:pypi/langchain purl2cpe 2026-06-01 10:15:38.814856
pkg:sourceforge/langchain.mirror purl2cpe 2026-06-01 10:15:38.814857

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-34070 vulnerable 2026-06-08 07:59:11.737923 LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions
HIGH (7.5)
LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions in langchain_core.prompts.loading read files from paths embedded in deserialized config dicts without validating against directory traversal or absolute path injection. When an application passes user-influenced prompt configurations to load_prompt() or load_prompt_from_config(), an attacker can read arbitrary files on the host filesystem, constrained only by file-extension checks (.txt for templates, .json/.yaml for examples). This issue has been patched in version 1.2.22.
Published: 2026-03-31T02:01:49.320Z
Updated: 2026-07-15T01:04:44.971Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-7042 vulnerable 2026-06-08 06:58:21.102764 Prompt Injection in langchain-ai/langchainjs Leading to SQL Injection
MEDIUM (4.9)
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 (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:05.375Z
Updated: 2025-10-15T12:50:36.199Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-5998 vulnerable 2026-06-08 06:58:17.148738 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-58340 vulnerable 2026-06-08 06:56:14.482246 LangChain <= 0.3.1 MRKLOutputParser ReDoS
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 extracting tool actions from model output. An attacker who can supply or influence the parsed text (for example via prompt injection in downstream applications that pass LLM output directly into MRKLOutputParser.parse()) can trigger excessive CPU consumption by providing a crafted payload, causing significant parsing delays and a denial-of-service condition.
Published: 2026-01-12T23:05:00.801Z
Updated: 2026-07-14T22:54:52.807Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-3095 vulnerable 2026-06-08 06:41:52.392430 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.849066 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-28088 vulnerable 2026-06-08 06:33:26.449769 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-1455 vulnerable 2026-06-08 06:25:40.126362 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-0243 vulnerable 2026-06-08 06:22:00.102403 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-46229 vulnerable 2026-06-08 06:12:44.443377 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39659 vulnerable 2026-06-08 06:09:37.879437 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-38896 vulnerable 2026-06-08 06:08:18.950036 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-32786 vulnerable 2026-06-08 06:04:47.211060 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29374 vulnerable 2026-06-08 06:02:40.023166 db.gcve.eu details were skipped to keep the page responsive. 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.