PyPI (Python)Worst: High6 advisories

langchain-community: known vulnerabilities

langchain-community has 6 reviewed security advisories in the GitHub Advisory Database — 3 high, 2 moderate, 1 low. The most recent was published 2025-09-04. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the langchain-community versions running across your servers, containers and images, and ranks what to patch first.

How to fix langchain-community

Upgrade langchain-community to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade langchain-community (pin langchain-community>=0.3.27)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (6)

Langchain Community Vulnerable to XML External Entity (XXE) Attacks High 7.5 CWE-200 CWE-611 — Affected: before 0.3.27. Fixed in 0.3.27. Published 2025-09-04. GHSA-pc6w-59fv-rh23 · CVE-2025-6984
LangChain Community SSRF vulnerability exists in RequestsToolkit component High 8.4 CWE-918 — Affected: before 0.0.28. Fixed in 0.0.28. Published 2025-06-23. GHSA-h5gc-rm8j-5gpr · CVE-2025-2828
Langchain SQL Injection vulnerability Low 4.9 CWE-74 CWE-89 — Affected: from 0.2.0 up to 0.2.19. Fixed in 0.2.19. Published 2024-10-29. GHSA-45pg-36p6-83v9 · CVE-2024-8309
LangChain pickle deserialization of untrusted data High 5.2 CWE-502 — Affected: before 0.2.4. Fixed in 0.2.4. Published 2024-09-17. GHSA-f2jm-rw3h-6phg · CVE-2024-5998
Denial of service in langchain-community Moderate 4.2 CWE-400 CWE-674 — Affected: before 0.2.5. Fixed in 0.2.5. Published 2024-06-06. GHSA-3hjh-jh2h-vrg6 · CVE-2024-2965
Server-Side Request Forgery in langchain-community.retrievers.web_research.WebResearchRetriever Moderate 4.8 CWE-918 — Affected: before 0.2.9. Fixed in 0.2.9. Published 2024-06-06. GHSA-q25c-c977-4cmh · CVE-2024-3095

Find langchain-community across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.