Vulnerability library
Security checkFebruary 25, 2026

LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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

Could your website be exposed too?

SmartScanner can check your website for LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 25, 2026