Remote code executionin LangChain AI LangChain.
Proof of concept public (GitHub).
A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data.
- Upgrade langchain-community (PyPI) to 0.2.9 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Mar 2024CVE ID reserved by @huntr_ai.
- 6 Jun 2024Published in the CVE List.
- 1 Aug 2024CVE record last updated.
- 12 Nov 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other LangChain vulnerabilities
Same weakness: Server-side request forgery
Patchminder. CVE-2024-3095: Remote code execution in LangChain AI LangChain. https://patchminder.com/cve/cve-2024-3095/ (accessed 5 December 2026).