GHSA-g28h-2cmm-rj9x: Path Traversal

Published Sep 24, 2026
·
Updated

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.

Affected Software

1 affected componentFixes available
pip/langchain-nvidia-ai-endpoints<=1.4.1
1.4.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langchain-nvidia-ai-endpoints to a version that resolves this vulnerability.

    Fixed in 1.4.2
  2. Upgrade

    Upgrade langchain-nvidia-ai-endpoints to a version that resolves this vulnerability.

    Fixed in 1.4.2
  3. Compensating control

    Reject local filesystem paths in user-controlled VLM image inputs; allow only trusted remote URLs, data:image/...;base64,... URIs, or supported asset/file IDs.

  4. Compensating control

    Run the application with least-privilege filesystem access so its process cannot read files it does not need.

Event History

Sep 24, 2026
Advisory Published
via GitHub·07:25 PM
Data Sourced
via GitHub·07:25 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which applications are exposed?

Applications are affected only if they use VLM image inputs with ChatNVIDIA or NVIDIARerank and allow untrusted users to control image URLs or document image metadata. Applications that do not use VLM image inputs, or that pass only trusted image references, are not affected.

2

What does an attacker need to exploit this issue?

An attacker must be able to control an image input or document image metadata that the application passes to the affected VLM APIs. They can then supply a local filesystem path, causing a file readable by the application process to be included in an outbound request to the configured NVIDIA/NIM model endpoint.

3

What can be done if an immediate upgrade is not possible?

Reject local filesystem paths in user-controlled VLM image inputs. The fixed version accepts remote URLs, data:image/...;base64,... URIs, and supported asset or file IDs instead.

4

How can the issue be remediated?

Upgrade langchain-nvidia-ai-endpoints to version 1.4.2 or later. This version rejects raw local filesystem paths for VLM image inputs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203