SCA: security update for @langchain/community (GHSA-mphv-75cg-56wg)

high Tenable Self-Hosted Container Security Plugin ID 438078

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-27795)

See Also

https://github.com/advisories/GHSA-mphv-75cg-56wg

Plugin Details

Severity: High

ID: 438078

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 3/3/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 51.27

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-27795

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/25/2026

Vulnerability Publication Date: 2/25/2026

Reference Information

CVE: CVE-2026-27795

cwe: CWE-918