langchain-ai langchain

8 published vulnerabilities name this product.

As the CNAs write it in their CVE records (vendor and product); the versions are theirs.

CVEVulnerable versionsTitleSeverityPublishedEPSSExploitation
CVE-2026-55443< 1.3.9LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loadersMEDIUM 5.50.2 %
CVE-2026-44843< 0.3.85 ; >= 1.0.0a1, < 1.3.3LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlistsHIGH 8.20.4 %
CVE-2026-40087< 0.3.83 ; >= 1.0.0a1, < 1.2.28LangChain has incomplete f-string validation in prompt templatesMEDIUM 5.30.3 %
CVE-2026-34070< 1.2.22LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functionsHIGH 7.51.4 %
CVE-2026-26013< 1.2.11LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messagesLOW 3.70.4 %
CVE-2024-58340≤ 0.3.1LangChain <= 0.3.1 MRKLOutputParser ReDoSHIGH 8.70.5 %
CVE-2025-68664>= 1.0.0, < 1.2.5 ; < 0.3.81LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIsCRITICAL 9.343 %
CVE-2025-65106>= 1.0.0, < 1.0.7 ; < 0.3.80LangChain Vulnerable to Template Injection via Attribute Access in Prompt TemplatesHIGH 8.30.5 %