Skip to content
SSRF Advisory Intermediate CVE-2026-136536

LiteLLM is_request_body_safe Server-Side Request Forgery Information Disclosure Vulnerability

LiteLLM did not properly validate the api_base parameter in chat completion requests, allowing an authenticated attacker to make the server access arbitrary URIs. This could disclose sensitive information in the context of the service account.

Javohir Abduxalilov Follow

Originally disclosed on Zero Day Initiative

Medium 6.4 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.

Javohir Abduxalilov (JavaSec.uz), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the api_base parameter was used to build an outbound request without validating the URI against an allowlist or blocking internal addresses.

Impact

An authenticated attacker could disclose sensitive information in the context of the service account.

What the attacker needed

Authentication required

The fix

The vendor issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you send a chat request to LiteLLM, you can include a setting called api_base that tells it where to send the request. The software did not check that this address was safe, so someone with an account could point it at internal systems and read what came back. This is called server-side request forgery: the server makes a request on the attacker's behalf.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.