CVE-2026-27795

MEDIUM
中文标题:
(暂无数据)
英文标题:
LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader
CVSS分数: 4.1
发布时间: 2026-02-25 17:30:01
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

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.

CWE类型:
CWE-918
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
langchain-ai langchainjs < 1.1.18 - - cpe:2.3:a:langchain-ai:langchainjs:<_1.1.18:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-mphv-75cg-56wg x_refsource_CONFIRM
cve.org
访问
https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7 x_refsource_MISC
cve.org
访问
https://github.com/langchain-ai/langchainjs/pull/9990 x_refsource_MISC
cve.org
访问
https://github.com/langchain-ai/langchainjs/commit/2812d2b2b9fd9343c4850e2ab906b8cf440975ee x_refsource_MISC
cve.org
访问
https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d x_refsource_MISC
cve.org
访问
https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14 x_refsource_MISC
cve.org
访问
https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.18 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
4.1
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
机密性
LOW
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-02-25 17:30:01
修改时间:
2026-02-25 18:42:52
创建时间:
2026-02-26 06:00:01
更新时间:
2026-02-28 06:00:02
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-27795 2026-02-26 03:19:54 2026-02-25 22:00:01
NVD nvd_CVE-2026-27795 2026-02-26 02:00:04 2026-02-25 22:00:04
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-02-26 06:00:04
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']