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

Advisory record · `GHSA-g28h-2cmm-rj9x`

- **Identifiers:** `GHSA-g28h-2cmm-rj9x`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 24 Sept 2026
- **Updated:** 24 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 Sept 2026, 19:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `langchain-nvidia-ai-endpoints` (PyPI): affected `<1.4.2`; fixed in `1.4.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Versions of langchain-nvidia-ai-endpoints before 1.4.2 accepted local filesystem paths as image inputs for VLM requests in ChatNVIDIA and NVIDIARerank. An attacker who can control image URLs or document image metadata in an application using these inputs could read files the application process can access and send them to the model endpoint. Upgrade to 1.4.2 or later, which rejects raw local paths; until then, reject local paths in user-supplied image inputs.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:09 UTC: First seen by agentprime
- 31 Oct 2026, 14:09 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-g28h-2cmm-rj9x)

## Sources

- [GitHub Advisory Database: GHSA-g28h-2cmm-rj9x](https://github.com/advisories/GHSA-g28h-2cmm-rj9x)
- [OSV: GHSA-g28h-2cmm-rj9x](https://osv.dev/vulnerability/GHSA-g28h-2cmm-rj9x)
- <https://github.com/langchain-ai/langchain-nvidia/security/advisories/GHSA-g28h-2cmm-rj9x>
- <https://github.com/langchain-ai/langchain-nvidia/commit/b483c7cad07dd9d5fd0fee2668238c4a08825d86>
- <https://github.com/langchain-ai/langchain-nvidia>
- <https://github.com/langchain-ai/langchain-nvidia/releases/tag/libs%2Fai-endpoints%2Fv1.4.2>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-g28h-2cmm-rj9x>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-g28h-2cmm-rj9x/>. Everything for agents: <https://agentprime.io/llms.txt>.
