langchain: known vulnerabilities and the safe version

PyPI20 records

The version to be on

Version 1.3.9 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade langchain with pip

pip install --upgrade "langchain>=1.3.9"
pip show langchain | grep Version

Pin it in requirements.txt

langchain>=1.3.9

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch langchain

Get an email only when langchain has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in langchain and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for langchain

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/langchain/badge/)](https://securityelites.com/ai-vulnerabilities/package/langchain/)

All records

  • LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loadersUnknown · CVE-2026-55443 · fixed in 1.3.9 · 16 Jun 2026
  • LangSmith SDK: Public prompt pull deserializes untrusted manifests without trust boundary warningUnknown · CVE-2026-45134 · fixed in 0.3.30 · 13 May 2026
  • Langchain SQL Injection vulnerabilityLow · CVE-2024-8309 · fixed in 0.2.0 · 29 Oct 2024
  • langchain vulnerable to path traversalUnknown · CVE-2024-3571 · fixed in 0.0.353 · 16 Apr 2024
  • langchain Server-Side Request Forgery vulnerabilityUnknown · CVE-2024-0243 · fixed in 0.1.0 · 27 Feb 2024
  • Langchain Server-Side Request Forgery vulnerabilityUnknown · CVE-2023-32786 · fixed in 0.0.329 · 21 Oct 2023
  • Langchain SQL Injection vulnerabilityUnknown · CVE-2023-32785 · fixed in 0.0.247 · 21 Oct 2023
  • LangChain Server Side Request Forgery vulnerabilityUnknown · CVE-2023-46229 · fixed in 0.0.317 · 19 Oct 2023
  • Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr libraryUnknown · CVE-2023-39631 · fixed in 0.0.308 · 2 Sep 2023
  • langchain vulnerable to arbitrary code executionUnknown · CVE-2023-36281 · fixed in 0.0.171 · 23 Aug 2023
  • LangChain vulnerable to arbitrary code executionUnknown · CVE-2023-38860 · fixed in 0.0.247 · 16 Aug 2023
  • LangChain vulnerable to arbitrary code executionUnknown · CVE-2023-38896 · fixed in 0.0.195 · 16 Aug 2023
  • LangChain vulnerable to arbitrary code executionUnknown · CVE-2023-39659 · fixed in 0.0.233 · 16 Aug 2023
  • langchain Code Injection vulnerabilityUnknown · CVE-2023-36095 · fixed in 0.0.236 · 5 Aug 2023
  • langchain vulnerable to arbitrary code executionUnknown · CVE-2023-36188 · fixed in 0.0.247 · 6 Jul 2023
  • langchain SQL Injection vulnerabilityUnknown · CVE-2023-36189 · fixed in 0.0.247 · 6 Jul 2023
  • langchain arbitrary code execution vulnerabilityUnknown · CVE-2023-36258 · fixed in 0.0.247 · 4 Jul 2023
  • Langchain vulnerable to arbitrary code executionUnknown · CVE-2023-34541 · fixed in 0.0.247 · 20 Jun 2023
  • Langchain OS Command Injection vulnerabilityUnknown · CVE-2023-34540 · fixed in 0.0.225 · 14 Jun 2023
  • LangChain vulnerable to code injectionUnknown · CVE-2023-29374 · fixed in 0.0.132 · 5 Apr 2023