Read the docs
TI-2026-67317 Aliases GHSA-g28h-2cmm-rj9x

langchain-nvidia-ai-endpoints has local file disclosure through VLM image inputs

Priority LOW 38CWE-22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

## 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.

Why it matters now

Fix Fixed langchain-nvidia-ai-endpoints (PyPI): 1.4.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—langchain-nvidia-ai-endpoints (PyPI)before 1.4.21.4.2Patch availableGHSA-g28h-2cmm-rj9x
  • langchain-nvidia-ai-endpoints (PyPI) Vendor— Affected before 1.4.2 Fixed in 1.4.2 Patch available GHSA-g28h-2cmm-rj9x

Remediation

  • Fix · GHSA-g28h-2cmm-rj9x langchain-nvidia-ai-endpoints (PyPI) Fixed in 1.4.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-g28h-2cmm-rj9x

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences