7.4

CVE-2026-27795: langchain-ai langchainjs Server-Side Request Forgery (SSRF)

CVSS: 7.4v3.1HighAnalyzed
AliasesGHSA-mphv-75cg-56wgCGA-2389-cgqv-f8qrCGA-244c-g759-7r23
Published 25-02-2026Last modified 25-02-2026

Vulnerability summary

CVE-2026-27795 is a high (CVSS 7.4) Server-Side Request Forgery (SSRF) vulnerability in langchain-ai langchainjs. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.4/10
010
High · v3.1 (NVD)
EPSS score
0.39%
0%100%
Low · +0.19 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 25-02-2026
    PublishedVulnerability first disclosed.
  2. 25-02-2026
    Last modifiedVulnerability information updated.

Description

LangChain is a framework for building LLM-powered applications. Prior to version 1.1.8, 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. This is a bypass of the SSRF protections introduced in 1.1.14 (CVE-2026-26019). Users should upgrade to `@langchain/community` 1.1.18, which validates every redirect hop by disabling automatic redirects and re-validating `Location` targets before following them. In this version, automatic redirects are disabled (`redirect: "manual"`), each 3xx `Location` is resolved and validated with `validateSafeUrl()` before the next request, and a maximum redirect limit prevents infinite loops.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

+0.19 pp

From 0.21% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.39%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard14 products
  • kibana-8.17All versions (No fix recorded)
  • kibana-8.17-bitnamiAll versions (No fix recorded)
  • kibana-8.17-iamguardedAll versions (No fix recorded)
  • kibana-8.18All versions (No fix recorded)
  • kibana-8.18-bitnamiAll versions (No fix recorded)
@langchain1 product
  • community< 1.1.18
Langchain1 product
Langchain-ai1 product

4 vendors · 17 products

References

10 links