LangChain path traversal bug adds to input validation woes in AI pipelines
- Published
- Record updated
Summary
Cyera researchers report that LangChain and LangGraph contain input validation flaws that can expose sensitive enterprise data. A new path traversal flaw in LangChain, CVE-2026-34070 (CVSS 7.5), lets crafted input read arbitrary files from the host, potentially including configuration files and credentials. Two earlier flaws, CVE-2025-68664 (unsafe deserialization in LangChain) and CVE-2025-67644 (SQL injection in LangGraph's checkpointing), can expose API keys, environment variables, and stored conversation history.
Mitigation
The article states that the tools' maintainers have fixed all the flaws, and that the fixes must be applied immediately across integrations. The source does not give fixed version numbers. The mitigations it describes are enforcing allowlists for file access and restricting directory boundaries, avoiding unsafe deserialization methods and processing only validated data structures, and using parameterized queries with stronger input sanitization.
Related items
- HighCVE-2026-136537: LiteLLM key_management_endpoints missing authorization allows bypassSame vendor · NVD/CVE Database
- MediumCVE-2026-135287: LiteLLM Proxy callback injection through request body callbacks fieldsSame vendor · NVD/CVE Database
- InfoHow AI is changing the nature of cyberattacksSame vendor · CSO Online
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor · GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor · GitHub Advisory Database