SCA: security update for langchain-community (GHSA-h5gc-rm8j-5gpr)

critical Tenable Cloud Security Plugin ID 427902

Description

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

- A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the
langchain-community package (specifically,
langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit) in langchain-ai/langchain version
0.0.27. This vulnerability occurs because the toolkit does not enforce restrictions on requests to remote
internet addresses, allowing it to also access local addresses. As a result, an attacker could exploit
this flaw to perform port scans, access local services, retrieve instance metadata from cloud environments
(e.g., Azure, AWS), and interact with servers on the local network. This issue has been fixed in version
0.0.28. (CVE-2025-2828)

See Also

https://github.com/advisories/GHSA-h5gc-rm8j-5gpr

Plugin Details

Severity: Critical

ID: 427902

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 6/26/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.66

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2025-2828

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/23/2025

Vulnerability Publication Date: 6/23/2025

Reference Information

CVE: CVE-2025-2828

cwe: CWE-918