All vulnerabilities

Servers and applications

GHSA-mr5r-2ffj-28wp

Gemini managed agents routes let any API key holder send proxy requests to arbitrary hosts

Severity
High 8.8
Published
5 Dec 2026
Last changed
5 Dec 2026
Added to UpHeron
5 Dec 2026
Fixed in
1.108.25, 1.112.2, 1.113.0rc2
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

The Gemini managed agents routes under /v1beta/agents did not apply the proxy's usual restrictions on caller-supplied request fields to all of their input. A caller could use this to make the proxy send a request to a destination of their choosing and receive the response.

The fix applies those restrictions to all input on these routes, and they now return HTTP 400 for a request that tries to set the provider endpoint. This applies even when general_settings.allow_client_side_credentials is enabled. Deployments that need these routes to go through their own gateway should set the GEMINI_API_BASE environment variable on the proxy.

Any user with a valid API key could make the proxy send requests to hosts reachable from it, including internal network services, and read the responses. Depending on what is reachable from the proxy, this can expose internal data and credentials.

From BerriAI/litellm's security advisory. Shortened; the full text is there.

Workarounds

Until you can upgrade, block /v1beta/agents and its sub-routes at your ingress or reverse proxy if you do not use Gemini managed agents.

Workarounds as given by BerriAI/litellm's security advisory.

Affected software

SoftwareAffected versions
LiteLLMServers and applications · github:berriai/litellm
  • From 1.87.0 before 1.108.25
  • From 1.109.0 before 1.112.2
  • From 1.113.0.dev1 before 1.113.0rc2

About LiteLLM

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

From its GitHub repository.
Weekly downloads (PyPI)
27,188,428PyPI Stats, 29 Nov 2026
GitHub stars
64,106GitHub, 29 Nov 2026
Forks
13,658GitHub, 29 Nov 2026
Latest release
v1.111.1GitHub, 29 Nov 2026
Released
29 Nov 2026GitHub
First published on GitHub
27 Jul 2023GitHub

References