Langchain
Vendor:
First CVE: Apr 5, 2023 · Active for 3 years
28
Total CVEs
More Total CVEs than 96% of tracked products
7.0
Avg CVEs / Year
Higher CVE frequency than 92% of tracked products
8.7
Avg CVSS
Higher Avg CVSS than 78% of tracked products
0.0%
KEV Rate
Bottom 1%
Trends Over Time
The number and severity of CVEs published that impact Langchain over time
Volume of CVEsAvg CVSS Base Score
First CVE
Apr 5, 2023
3 years ago
Most Recent CVE
Jun 22, 2026
34 days ago
CVE Severity & Scoring
Langchain28 CVEs
11%
36%
54%
All CVEs352,713 CVEs
45%
40%
11%
MediumHighCritical
Attack Vector
Local3 (10.7%)
Network25 (89.3%)
Unknown0 (0.0%)
Physical0 (0.0%)
Adjacent Network0 (0.0%)
Attack Complexity
Low25 (89.3%)
High3 (10.7%)
Unknown0 (0.0%)
User Interaction
None26 (92.9%)
Unknown0 (0.0%)
Required2 (7.1%)
Privileges Required
Low5 (17.9%)
High0 (0.0%)
None23 (82.1%)
Unknown0 (0.0%)
Top CVEs
Signals from CVEs in this product scope (28 CVEs).
28 CVEs · Highest risk first
| CVE | Published | CVSS | Risk | KEV | Exploit |
|---|---|---|---|---|---|
CVE-2023-29374CRITICAL In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method. | Apr 5, 2023 | 9.8 | 53 | NO | NO |
CVE-2023-46229HIGH 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. | Oct 19, 2023 | 8.8 | 52 | NO | NO |
CVE-2026-44843HIGH 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 o | May 26, 2026 | 8.2 | 36 | NO | NO |
CVE-2025-2828CRITICAL A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package (specifically, langchain_community.agent_toolkits.open | Jun 23, 2025 | 10.0 | 35 | NO | NO |
CVE-2024-8309CRITICAL 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 unauthoriz | Oct 29, 2024 | 9.8 | 35 | NO | NO |
CVE-2023-39659CRITICAL 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. | Aug 15, 2023 | 9.8 | 30 | NO | NO |
CVE-2023-38896CRITICAL 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. | Aug 15, 2023 | 9.8 | 30 | NO | NO |
CVE-2023-36258CRITICAL An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used. | Jul 3, 2023 | 9.8 | 30 | NO | NO |
CVE-2023-34541CRITICAL Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt. | Jun 20, 2023 | 9.8 | 30 | NO | NO |
CVE-2023-38860CRITICAL An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter. | Aug 15, 2023 | 9.8 | 29 | NO | NO |
Exploit Exposure
Signals from CVEs in this product scope (28 CVEs).
CISA KEV
0 CVEs
0.0% of CVEs· Bottom 1%
Metasploit
0 CVEs
0.0% of CVEs· Bottom 1%
Nuclei
0 CVEs
0.0% of CVEs· Bottom 1%
ExploitDB
0 CVEs
0.0% of CVEs· Bottom 1%
Social Chatter
Signals from CVEs in this product scope (28 CVEs).
Media Mentions
Signals from CVEs in this product scope (28 CVEs).
Top CNAs Publishing CVEs For Langchain
Top CWEs
Versions
| Version | CVE Count | Avg CVSS | Avg EPSS | KEV | Exploits |
|---|---|---|---|---|---|
| 0.2.5 | 1 | 9.8 | 13.8% | 0 | 0 |
| 0.0.64 | 2 | 8.7 | 1.6% | 0 | 0 |
| 0.0.351 | 1 | 8.8 | 1.9% | 0 | 0 |
| 0.0.26 | 1 | 9.8 | 0.6% | 0 | 0 |
| 0.0.245 | 1 | 9.8 | 1.3% | 0 | 0 |
| 0.0.231 | 1 | 9.8 | 1.2% | 0 | 0 |
| 0.0.199 | 1 | 9.8 | 1.1% | 0 | 0 |
| 0.0.194 | 1 | 9.8 | 1.1% | 0 | 0 |
| 0.0.171 | 3 | 9.8 | 1.8% | 0 | 0 |