Is langchain-community 0.2 vulnerable?

PyPI · 19 releases from 0.2.0 to 0.2.19 · latest langchain-community is 0.4.2 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. langchain-community 0.2.19, the last 0.2 release, is affected by 1 known security advisory (1 high), including CVE-2025-6984. 4 more affect earlier 0.2.x releases. Upgrade to 0.3.27 or later to fix all of them.

Upgrade with:pip install 'langchain-community>=0.3.27'

Is your project on an affected langchain-community?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting langchain-community 0.2.19

  • HighCVE-2025-6984GHSA-pc6w-59fv-rh234 Sept 2025

    Langchain Community Vulnerable to XML External Entity (XXE) Attacks

    Affected
    <0.3.27
    Fixed in
    0.3.27

Fixed within 0.2.x, affecting earlier releases

  • LowCVE-2024-8309GHSA-45pg-36p6-83v929 Oct 2024

    Langchain SQL Injection vulnerability

    Affected
    >=0.2.0 <0.2.19
    Fixed in
    0.2.19
  • HighCVE-2024-5998GHSA-f2jm-rw3h-6phg17 Sept 2024

    LangChain pickle deserialization of untrusted data

    Affected
    <0.2.4
    Fixed in
    0.2.4
  • MediumCVE-2024-2965GHSA-3hjh-jh2h-vrg66 Jun 2024

    Denial of service in langchain-community

    Affected
    <0.2.5
    Fixed in
    0.2.5
  • MediumCVE-2024-3095GHSA-q25c-c977-4cmh6 Jun 2024

    Server-Side Request Forgery in langchain-community.retrievers.web_research.WebResearchRetriever

    Affected
    <0.2.9
    Fixed in
    0.2.9

Every langchain-community 0.2.x release

Affected: 0.2.0 to 0.2.19. Latest langchain-community: 0.4.2.

VersionKnown advisories
langchain-community 0.2.19CVE-2025-6984
langchain-community 0.2.18CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.17CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.16CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.15CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.14CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.13CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.12CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.11CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.10CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.9CVE-2025-6984, CVE-2024-8309
langchain-community 0.2.7CVE-2025-6984, CVE-2024-8309, CVE-2024-3095
langchain-community 0.2.6CVE-2025-6984, CVE-2024-8309, CVE-2024-3095
langchain-community 0.2.5CVE-2025-6984, CVE-2024-8309, CVE-2024-3095
langchain-community 0.2.4CVE-2025-6984, CVE-2024-8309, CVE-2024-2965, CVE-2024-3095
langchain-community 0.2.3CVE-2025-6984, CVE-2024-8309, CVE-2024-5998, CVE-2024-2965, CVE-2024-3095
langchain-community 0.2.2CVE-2025-6984, CVE-2024-8309, CVE-2024-5998, CVE-2024-2965, CVE-2024-3095
langchain-community 0.2.1CVE-2025-6984, CVE-2024-8309, CVE-2024-5998, CVE-2024-2965, CVE-2024-3095
langchain-community 0.2.0CVE-2025-6984, CVE-2024-8309, CVE-2024-5998, CVE-2024-2965, CVE-2024-3095

Which of your client projects are still on langchain-community 0.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact langchain-community version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other langchain-community versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.