Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/langchain@0.0.331rc2
purl pkg:pypi/langchain@0.0.331rc2
Next non-vulnerable version 0.3.1
Latest non-vulnerable version 0.3.1
Risk
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-23um-cqks-tkc5
Aliases:
CVE-2024-8309
PYSEC-2024-115
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain-community 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.
0.2.0
Affected by 2 other vulnerabilities.
VCID-964p-24u8-yucb
Aliases:
CVE-2024-2965
PYSEC-2024-118
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.
0.2.5
Affected by 1 other vulnerability.
VCID-fdk5-mhqa-mqgw
Aliases:
CVE-2024-7042
PYSEC-2024-114
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.
0.3.1
Affected by 0 other vulnerabilities.
VCID-m5uw-4tqc-3ub8
Aliases:
CVE-2024-28088
GHSA-h59x-p739-982c
PYSEC-2024-43
PYSEC-2024-45
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 outcome can be disclosure of an API key for a large language model online service, or remote code execution.
0.1.11
Affected by 3 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-02T04:22:29.288203+00:00 Pypa Importer Affected by VCID-23um-cqks-tkc5 https://github.com/pypa/advisory-database/blob/main/vulns/langchain/PYSEC-2024-115.yaml 38.6.0
2026-06-02T04:22:26.867383+00:00 Pypa Importer Affected by VCID-fdk5-mhqa-mqgw https://github.com/pypa/advisory-database/blob/main/vulns/langchain/PYSEC-2024-114.yaml 38.6.0
2026-06-02T04:21:23.095618+00:00 Pypa Importer Affected by VCID-964p-24u8-yucb https://github.com/pypa/advisory-database/blob/main/vulns/langchain/PYSEC-2024-118.yaml 38.6.0
2026-06-02T04:21:05.706976+00:00 Pypa Importer Affected by VCID-m5uw-4tqc-3ub8 https://github.com/pypa/advisory-database/blob/main/vulns/langchain/PYSEC-2024-43.yaml 38.6.0