HighGHSA-655w-fm8m-m478CVE-2023-46229PYSEC-2023-205
LangChain Server Side Request Forgery vulnerability
Published 19 Oct 2023 · Updated 30 Sept 2024
Is your project on an affected langchain?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
langchainPyPI
- Affected
- <0.0.317
- Fixed in
- 0.0.317
Update to the fixed version for your release line, for example:
pip install 'langchain>=0.0.317'Details
LangChain before 0.0.317 allows SSRF via document_loaders/recursive_url_loader.py because crawling can proceed from an external server to an internal server.
Is GHSA-655w-fm8m-m478 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected langchain, and gives you the command that fixes it.
More advisories for langchain
- MediumCVE-2026-55443LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders · 16 Jun 2026
- HighCVE-2026-45134LangSmith SDK: Public prompt pull deserializes untrusted manifests without trust boundary warning · 13 May 2026
- LowCVE-2024-8309Langchain SQL Injection vulnerability · 29 Oct 2024
- LowCVE-2024-5998No summary published · 17 Sept 2024
- MediumCVE-2024-2965Denial of service in langchain-community · 6 Jun 2024
- MediumCVE-2024-3571langchain vulnerable to path traversal · 16 Apr 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-46229
- Linkgithub.com/langchain-ai/langchain/pull/11925
- Linkgithub.com/langchain-ai/langchain/commit/9ecb7240a480720ec9d739b3877a52f76098a2b8
- Packagegithub.com/langchain-ai/langchain
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-205.yaml
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.