SCA: security update for langchain-openai (GHSA-r7w7-9xr2-qq2r)

low Tenable Self-Hosted Container Security Plugin ID 440915

Description

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

- LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-
openai's _url_to_size() helper (used by get_num_tokens_from_messages for image token counting) validated
URLs for SSRF protection and then fetched them in a separate network operation with independent DNS
resolution. This left a TOCTOU / DNS rebinding window: an attacker-controlled hostname could resolve to a
public IP during validation and then to a private/localhost IP during the actual fetch. (CVE-2026-41488)

Solution

Update the langchain-openai library and its related packages to version 1.1.14 or later.

See Also

https://github.com/advisories/GHSA-r7w7-9xr2-qq2r

Plugin Details

Severity: Low

ID: 440915

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/27/2026

Updated: 6/15/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

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

CVSS Score Source: CVE-2026-41488

CVSS v3

Risk Factor: Low

Base Score: 3.1

Temporal Score: 2.7

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/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: 4/16/2026

Vulnerability Publication Date: 4/16/2026

Reference Information

CVE: CVE-2026-41488

cwe: CWE-918