- Description
- 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.
- Source
- security-advisories@github.com
- NVD status
- Modified
- Products
- langchain_core
CVSS 3.1
- Type
- Secondary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity
- HIGH
- Hype score
- Not currently trending
3 critical LangChain CVEs just dropped. CVE-2026-34070: path traversal (CVSS 7.5) CVE-2025-68664: API key leakage (CVSS 9.3) CVE-2025-67644: SQL injection (CVSS 7.3) 52 million downloads/week. When did you last test your LangChain agent? pip install crucible-security Link in Bio
@Crucible_Sec
25 Apr 2026
1 Impression
0 Retweets
1 Like
0 Bookmarks
0 Replies
0 Quotes
3 serious CVEs just dropped for LangChain + LangGraph: - CVE-2025-68664 (CVSS 9.3): API keys & env secrets leak via unsafe deserialization - CVE-2026-34070 (CVSS 7.5): Path traversal -- arbitrary file read - CVE-2025-67644 (CVSS 7.3): SQL injection into conversation history
@NYsquaredAI
4 Apr 2026
256 Impressions
0 Retweets
1 Like
0 Bookmarks
0 Replies
0 Quotes
Three vulnerabilities in LangChain & LangGraph: path traversal flaw (CVE-2026-34070, CVSS 7.5) exposed files, deserialization bug (CVE-2025-68664, CVSS 9.3) leaked API keys. #security #LangChain #LangGraph
@bigmacd16684
30 Mar 2026
143 Impressions
0 Retweets
0 Likes
0 Bookmarks
1 Reply
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*",
"matchCriteriaId": "2ABD029B-592B-4C63-A280-09F190C3587A",
"versionEndExcluding": "1.2.22",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]