Server-side Request Forgery (SSRF) Affecting @langchain/community package, versions <1.1.18


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LANGCHAINCOMMUNITY-15354988
  • published26 Feb 2026
  • disclosed25 Feb 2026
  • creditr3dbrothers

Introduced: 25 Feb 2026

CVE-2026-27795  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @langchain/community to version 1.1.18 or higher.

Overview

@langchain/community is a Third-party integrations for LangChain.js

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the RecursiveUrlLoader class. An attacker can access internal network resources or sensitive cloud metadata by supplying a public URL that redirects to internal or protected endpoints, exploiting the lack of revalidation on redirect targets.

CVSS Base Scores

version 4.0
version 3.1