CVE-2024-2057
CVE-2024-2057 — LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery
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.
Published Updated Sources: cvelistV5, VulDB
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-918
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /community/langchain_community/retrievers/tfidf.py.
References
5 on the record
- vuldb.com/?id.255372
vdb-entry, technical-description
- vuldb.com/?ctiid.255372
signature, permissions-required
- github.com/bayuncao/vul-cve-16
broken-link
- github.com/bayuncao/vul-cve-16/tree/main/PoC.pkl
broken-link, exploit
- github.com/langchain-ai/langchain/pull/18695
issue-tracking, patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-83548 SonicWall SMA1000 Appliances Server-Side Request Forgery VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-49869 Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter`CVSS 10.0 · CISA KEV
- CVE-2026-15409 SonicWall SMA1000 Appliances Server-Side Request Forgery VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-34473 Microsoft Exchange Server Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-27103 Accellion FTA Server-Side Request Forgery (SSRF) VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-22986 F5 BIG-IP and BIG-IQ Centralized Management iControl REST Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.