{"cve":"CVE-2024-2057","nvd":{"published":"2024-03-01T12:15:48.670","modified":"2026-06-17T07:23:38.657","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-918"],"references":["https://github.com/bayuncao/vul-cve-16","https://github.com/bayuncao/vul-cve-16/tree/main/PoC.pkl","https://github.com/langchain-ai/langchain/pull/18695","https://vuldb.com/?ctiid.255372","https://vuldb.com/?id.255372"],"products":["langchain:langchain"],"source":"nvd","synced_at":"2026-10-19T21:46:54.846886191+00:00"},"epss":{"cve":"CVE-2024-2057","score":0.00578,"percentile":0.47592,"date":"2026-10-31"},"kev":null,"osv":[{"id":"PYSEC-2024-278","url":"https://osv.dev/vulnerability/PYSEC-2024-278","summary":"","modified":"2026-05-21T15:00:15.314136284Z","packages":[{"ecosystem":"PyPI","name":"langchain-community","purl":"pkg:pypi/langchain-community","ranges":["<=0.0.26"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}