Skip to content
OpenAdvisories
Medium · 6.3 Public exploit CVE-2024-2057 EUVD-2024-27022GHSA-vpff-m9vh-pv4hPYSEC-2024-278

LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery

Published Mar 1, 2024 · Updated Aug 1, 2024 · Assigned by VulDB

Description

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.

Affected products

VendorProductAffectedFixed
LangChain langchain_community 0.0.26 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langchain-community <= 0.0.26 — PYSEC-2024-278

References