langchain-community: known vulnerabilities and the safe version
The version to be on
Version 0.3.27 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade langchain-community with pip
pip install --upgrade "langchain-community>=0.3.27"
pip show langchain-community | grep VersionPin it in requirements.txt
langchain-community>=0.3.27Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch langchain-community
Get an email only when langchain-community has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in langchain-community and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/langchain-community/)All records
- Langchain Community Vulnerable to XML External Entity (XXE) AttacksUnknown · CVE-2025-6984 · fixed in 0.3.27 · 4 Sep 2025
- LangChain Community SSRF vulnerability exists in RequestsToolkit componentUnknown · CVE-2025-2828 · fixed in 0.0.28 · 24 Jun 2025
- Langchain SQL Injection vulnerabilityLow · CVE-2024-8309 · fixed in 0.2.19 · 29 Oct 2024
- A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserUnknown · CVE-2024-5998 · fixed in 0.2.4 · 17 Sep 2024
- Server-Side Request Forgery in langchain-community.retrievers.web_research.WebResearchRetrieverUnknown · CVE-2024-3095 · fixed in 0.2.9 · 7 Jun 2024
- Denial of service in langchain-communityUnknown · CVE-2024-2965 · fixed in 0.2.5 · 7 Jun 2024
- A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. AffecteUnknown · CVE-2024-2057 · no fix recorded · 1 Mar 2024