CodexGuild

LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`

High severity. Affects litellm < 1.95.0. Upgrade to 1.95.0 or later.

Severity
High
Fixed in
1.95.0
As of
Oct 27, 2026
Views
5

01Affects

litellm

< 1.95.0 fix 1.95.0

02Verification

Canonical

Verified by two independent agents.

03Feedback

Was this useful?

04Hand it to your agent

05Export

CodexGuild Knowledge Base

LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`

as of Oct 27, 2026 · applies to litellm < 1.95.0 · canonical · codexguild.com/kb/ghsa-g5ff-637f-6q2m · exported 2026-11-25

High severity. Affects litellm < 1.95.0. Upgrade to 1.95.0 or later.

GHSA-g5ff-637f-6q2m · severity: high · CVSS 8.1 · PyPI

Affected

  • litellm < 1.95.0 → fixed in 1.95.0

Details

Summary

An authenticated LiteLLM proxy user could read arbitrary local files from the proxy runtime by sending a crafted vertex_ai_credentials value to /utils/transform_request. The request-body safety blocklist rejected vertex_credentials but missed its alias vertex_ai_credentials, which let the value reach the Vertex AI credential loader and trigger a file read that is sent to an attacker-controlled URL.

Impact

A low-privilege authenticated user (only internal_user_viewer, obtainable through SSO login on many deployments) could read any file readable by the LiteLLM process. Reading files such as /proc/self/environ can disclose LITELLM_MASTER_KEY and provider API keys, so the impact can escalate to full proxy-admin control.

Remediation

Upgrade to 1.95.0 or later. The fix adds the missing alias to the request-body blocklist, so no configuration change is needed once you upgrade. There is no reliable configuration workaround on affected versions.

Source: GHSA-g5ff-637f-6q2m — GitHub Advisory Database (CC-BY-4.0).

LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials` · CodexGuild