Skip to content

langchain

23 advisories in the AI Sec Watch database name langchain (PyPI). langchain (PyPI) has declared an LLM component as a dependency since 2022-10-25. The most recent advisory that names langchain and states a fix gives 1.3.9.

Building applications with LLMs through composability

The first release to declare it was version 0.0.1.

PyPILatest 1.4.9First release 2022-10-25Registry pageRepositoryChecked 2026-11-09

Advisories

Advisories that name langchain as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.

Time to fix: a median of −2 days from disclosure to the release of the fixed version, over 22 advisories with a dated fix (fastest −165, slowest +73 days). A negative count means the fix was released before the advisory's disclosure date.

AdvisorySeverityAffectedFixed inFix releasedPublished
CVE-2026-55443LangChain path confinement flaws expose files outside intended rootMedium<= 1.3.81.3.92026-06-12 (−10 d)2026-06-22
GHSA-gr75-jv2w-4656: LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loadersMedium<= 1.3.81.3.92026-06-12 (−4 d)2026-06-16
CVE-2026-45134GHSA-3644-q5cj-c5c7: LangSmith SDK: Public prompt pull deserializes untrusted manifests without trust boundary warningHigh< 0.3.300.3.302026-05-07 (−6 d)2026-05-13
CVE-2024-8309langchain GraphCypherQAChain SQL injection through prompt injectionCritical< 0.2.00.2.02024-05-17 (−165 d)2024-10-29
CVE-2024-2965GHSA-3hjh-jh2h-vrg6: Denial of service in langchain-communityMedium>= 0, < 0.2.50.2.52024-06-14 (+8 d)2024-06-06
CVE-2024-3571langchain-ai/langchain path traversal in LocalFileStore mset and mget methodsHigh< 0.0.3530.0.3532023-12-29 (−109 d)2024-04-16
CVE-2024-28088LangChain directory traversal in load_chain path parameterHigh< 0.0.3390.0.3392023-11-20 (−105 d)2024-03-04
CVE-2024-0243GHSA-h9j7-5xvc-qhg5: langchain Server-Side Request Forgery vulnerabilityLow< 0.1.00.1.02024-01-06 (−51 d)2024-02-26
CVE-2023-32786Langchain prompt injection enables SSRF via arbitrary URL retrievalHigh< 0.0.3290.0.3292023-11-02 (+12 d)2023-10-21
CVE-2023-32785GHSA-8h5w-f6q9-wg35: Langchain SQL Injection vulnerabilityCritical< 0.0.2470.0.2472023-07-29 (−84 d)2023-10-21
CVE-2023-46229LangChain SSRF via recursive URL loader crawling to internal serversHigh>= 0, < 0.0.3170.0.3172023-10-18 (−1 d)2023-10-19
CVE-2023-39631LanChain-ai Langchain code execution through evaluate functionCritical< 0.0.3080.0.3082023-10-04 (+33 d)2023-09-01
CVE-2023-36281langchain remote code execution through JSON file in load_promptCritical< 0.0.3120.0.3122023-10-10 (+49 d)2023-08-22
CVE-2023-39659langchain arbitrary code execution through PythonAstREPLTool._runCritical< 0.0.3250.0.3252023-10-27 (+73 d)2023-08-15
CVE-2023-38896CVE-2023-38896: An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the…Critical< 0.0.2360.0.2362023-07-19 (−27 d)2023-08-15
CVE-2023-38860LangChain arbitrary code execution via prompt parameterCritical>= 0, < 0.0.2470.0.2472023-07-29 (−17 d)2023-08-15
CVE-2023-36095langchain arbitrary code execution through PALChain python exec callsCritical< 0.0.2360.0.2362023-07-19 (−17 d)2023-08-05
CVE-2023-36189langchain SQL injection in SQLDatabaseChain componentHigh>= 0, < 0.0.2470.0.2472023-07-29 (+23 d)2023-07-06
CVE-2023-36188langchain remote code execution via PALChain parameterCritical< 0.0.2470.0.2472023-07-29 (+23 d)2023-07-06
CVE-2023-36258LangChain arbitrary code execution through os.system, exec, or evalCritical< 0.0.2470.0.2472023-07-29 (+25 d)2023-07-04
CVE-2023-34541Langchain arbitrary code execution in load_promptCritical< 0.0.2470.0.2472023-07-29 (+39 d)2023-06-20
CVE-2023-34540Langchain remote code execution through JiraAPIWrapper crafted inputCritical< 0.0.2250.0.2252023-07-06 (+22 d)2023-06-14
CVE-2023-29374LangChain LLMMathChain prompt injection leads to arbitrary code executionCritical<= 0.0.1312023-04-05

Dependencies of the latest release

As declared in PyPI metadata for version 1.4.9. Optional extras are listed with their extra name.

Tracked packages that depend on it

Among the packages in the registry; not every dependent on PyPI.