LiteLLM api_base server-side request forgery information disclosure (CVE-2026-136536)
Summary
Per the advisory GHSA-vh8q-246j-mm6f, LiteLLM has a server-side request forgery flaw in how it handles the api_base parameter in chat completion requests. An authenticated remote attacker can use it to disclose information in the context of the service account. The advisory gives no affected version range or fixed version.
Severity
Timeline
GitHub advisory GHSA-vh8q-246j-mm6f for CVE-2026-136536 was published.
How it happened
Per the advisory, the flaw is in the handling of the api_base parameter in chat completion requests, where a URI is not properly validated before resources are accessed. Authentication is required. A related LiteLLM pull request, #26518, tightens clientside api_base handling. The sources do not say it fixes this CVE or which release contains it. That pull request also describes a previous unanchored substring matcher that could let a caller obtain the server's provider API key. The sources do not say which builds contain that matcher.
How to check your app
- all affected versions: Identify LiteLLM proxy instances that accept a clientside api_base or base_url in chat completion requests.
- all affected versions: Check whether the running build includes the pull request 26518 change. The sources do not name a release that contains it.
- all affected versions: Check whether litellm.user_url_validation is on. The pull request's URL check applies only when it is on.
- all affected versions: Check whether the running build still uses the previous unanchored substring matcher for api_base in get_llm_provider_logic.py.
Sources
Corrections and updates
Cite this entry
- Title
- LiteLLM api_base server-side request forgery information disclosure (CVE-2026-136536)
- Added
- Nov 25, 2026
- URL
- https://vibeincidents.com/incidents/incident-cve-2026-136536/
- Suggested citation
VibeIncidents. "LiteLLM api_base server-side request forgery information disclosure (CVE-2026-136536)." Nov 25, 2026. https://vibeincidents.com/incidents/incident-cve-2026-136536/