LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader
- Severity:
- Medium
Description
A redirect-based Server-Side Request Forgery (SSRF) bypass exists in RecursiveUrlLoader in @langchain/community. The loader validates the initial URL but allows the underlying fetch to follow redirects automatically, which permits a transition from a safe public URL to an internal or metadata endpoint without revalidation.
Recommendation
Update the @langchain/community package to the latest compatible version. Followings are version details:
- Affected version(s): <= 1.1.17
- Patched version(s): 1.1.18
References
Related Issues
- @langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation - CVE-2026-26019
- Budibase: SSRF Bypass via HTTP Redirect in REST Datasource Integration - CVE-2026-45715
- nuxt-og-image SSRF — bypass of GHSA-pqhr-mp3f-hrpp / v6.2.5 fix (IPv6 + redirect) - CVE-2026-44589
- Cloudflare has SSRF via redirect following through its image-binding-transform endpoint (incomplete fix for GHSA-qpr4) - CVE-2026-41321
You might also like:
- Tags:
- npm
- @langchain/community
Anything's wrong? Let us know Last updated on February 25, 2026


