Skip to content
MediumNewsLLM-specific

LangChain, LangGraph Flaws Expose Files, Secrets, Databases in Widely Used AI Frameworks

Published
Record updated
View JSON

Summary

Cyera researchers disclosed three vulnerabilities in LangChain and LangGraph that could expose filesystem files, environment secrets and conversation history. CVE-2026-34070 is a path traversal in langchain_core/prompts/loading.py that reads arbitrary files via a crafted prompt template, CVE-2025-68664 is a deserialization flaw that leaks API keys and environment secrets, and CVE-2025-67644 is an SQL injection in the LangGraph SQLite checkpoint implementation.

Mitigation

CVE-2026-34070 - langchain-core >=1.2.22; CVE-2025-68664 - langchain-core 0.3.81 and 1.2.5; CVE-2025-67644 - langgraph-checkpoint-sqlite 3.0.1.