highCVSS 7.5Vulnerability

GHSA-g28h-2cmm-rj9x

## Summary `langchain-nvidia-ai-endpoints` versions before 1.4.2 accepted local filesystem paths as image inputs for Vision Language Model (VLM) requests. If an application passed attacker-controlled image input to `ChatNVIDIA` or VLM reranking APIs, an attacker could cause files readable by the application process to be read and included in the outbound request to the configured NVIDIA/NIM model endpoint. ## Impact Applications are affected if they use VLM image inputs with `ChatNVIDIA` or `NVIDIARerank` and allow untrusted users to control image URLs or document image metadata. An attacker who can control those inputs may be able to read local files accessible to the application process. Applications that do not use VLM image inputs, or that only pass trusted image references, are not affected. ## Patched Version Upgrade to `langchain-nvidia-ai-endpoints >= 1.4.2`. The patched version rejects raw local filesystem paths for VLM image inputs. Supported inputs are remote URLs, `data:image/...;base64,...` URIs, and supported asset/file IDs. ## Workarounds If upgrading is not immediately possible, applications should reject local filesystem paths in user-controlled VLM image inputs and only allow trusted remote URLs, data URIs, or known safe asset/file IDs. Applications should also run with least-privilege filesystem access so that the application process cannot read files it does not need.

Properties

summary
langchain-nvidia-ai-endpoints has local file disclosure through VLM image inputs
severity
high
cvss_score
7.5
retrieved_at
2026-09-25T06:02:49+00:00
ghsa_published
2026-09-24T19:25:36Z
source_url
https://github.com/advisories/GHSA-g28h-2cmm-rj9x
ghsa_updated
2026-09-24T19:25:37Z
ghsa_id
GHSA-g28h-2cmm-rj9x
last_source
GitHub Advisory Database
cve_id
GHSA-g28h-2cmm-rj9x
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
signal_observed_at
2026-09-25T06:02:49+00:00
is_ghsa_only
true

Related Entities (4)

REPORTED_BY (1)

→[Source]GitHub Advisory Database

VULNERABLE_TO (1)

←[Software]pip/langchain-nvidia-ai-endpoints

AFFECTS (1)

→[Software]pip/langchain-nvidia-ai-endpoints

HAS_WEAKNESS (1)

→[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-g28h-2cmm-rj9x (CVSS 7.5) — Ninja Signal Threat Intelligence | Ninja Signal