Skip to content
MediumVulnerability

CVE-2024-2057: A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the…

Identifier
CVE-2024-2057
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

A critical vulnerability in LangChain langchain_community 0.0.26 affects the load_local function in libs/community/langchain_community/retrievers/tfidf.py, part of the TFIDFRetriever component. Manipulation of this function leads to server-side request forgery, and the attack can be launched remotely. The exploit is public and may be used.

Mitigation

Upgrade to version 0.0.27, which is able to address this issue. It is recommended to upgrade the affected component.