Live threats

All CVEs / Langchain

CVE-2024-2057Langchain

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Mar 1, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side request forgery. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.0.27 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-255372.

Original NVD text.

What to do

  1. Apply the vendor's security update for Langchain.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langchain-community ≤ 0.0.26 no fixed version —

Per OSV / GitHub Advisories (PYSEC-2024-278). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
langchainlangchain0.0.26

Official sources

References

Links published by the sources. Open them with care.