Vulnerability DatabaseCVE-2026-136538

CVE-2026-136538: 
Chainguard vulnerability analysis and mitigation

Overview

CVE-2026-136538 is a privilege escalation vulnerability in LiteLLM caused by incorrect authorization in the handling of virtual key model aliases. Discovered by researcher s3zer0 and reported to the vendor on September 3, 2026, it was publicly disclosed on November 24, 2026 as ZDI-26-1083. The vulnerability affects LiteLLM version 1.95.0 and has a CVSS v3.0 base score of 6.5 (Medium) (ZDI Advisory, Github Advisory).

Technical details

The root cause is CWE-863 (Incorrect Authorization): LiteLLM's proxy authorization logic failed to apply key-level model aliases during access control checks, while the model listing endpoint (GET /v1/models) correctly exposed those aliases to users. Specifically, when a virtual key was configured with model aliases (e.g., {"models": ["gpt-4o-mini"], "aliases": {"mistral-7b": "gpt-4o-mini"}}), the auth layer only honored team, global, and router aliases — not key-level aliases — meaning a listed alias would return HTTP 403 on use, but the inverse flaw also existed: a key alias could resolve to a model target outside the key's allowlist and be dispatched without proper authorization checks. The fix, merged in pull request #43049, ensures auth resolves key aliases in the same order as the request dispatch pipeline (team → key → global model_alias_map → key again) and checks only the dispatched target model against the allowlist (GitHub PR, ZDI Advisory).

Impact

An authenticated remote attacker can exploit this vulnerability to access LLM model resources that are normally restricted by their virtual key's access controls, effectively bypassing the allowlist enforcement. The primary impact is a high confidentiality risk — an attacker could route requests to models outside their permitted scope, potentially accessing more capable or sensitive AI model endpoints. Integrity and availability are not directly impacted (Github Advisory, ZDI Advisory).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at the time of disclosure (Github Advisory). The EPSS score is 0.0, reflecting a very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires valid authentication credentials (low-privilege user), making opportunistic mass exploitation less likely, though insider threats or compromised accounts remain a concern.

Exploitation steps

  1. Obtain a valid API key: Authenticate to a LiteLLM proxy instance with a low-privilege virtual key that has a restricted model allowlist (e.g., only gpt-4o-mini) and at least one model alias configured.
  2. Enumerate available models: Send GET /v1/models with the virtual key to list accessible models, including any configured aliases (e.g., mistral-7b aliased to gpt-4o-mini).
  3. Craft a malicious alias: If the attacker controls key generation (e.g., via POST /key/generate), create a key with an alias pointing to a model outside the allowlist: {"models": ["gpt-4o-mini"], "aliases": {"gpt-4": "gpt-4"}}.
  4. Send a completion request using the alias: Issue POST /v1/chat/completions with "model": "gpt-4" (the alias name). On vulnerable versions, the auth layer does not resolve the alias to its target before checking the allowlist, allowing the request to be dispatched to the out-of-scope model.
  5. Access restricted model: The proxy dispatches the request to the unauthorized model and returns a successful response, bypassing the intended access control (GitHub PR, ZDI Advisory).

Indicators of compromise

  • Network: Unexpected successful (HTTP 200) completion requests to /v1/chat/completions using model names that are aliases rather than directly permitted model names; requests where the x-litellm-model-group response header differs from the model name in the request body.
  • Logs: LiteLLM proxy access logs showing authenticated API key requests for model names not in the key's explicit models allowlist that return 200 instead of 403; repeated probing of /v1/models followed by completion requests using alias names.
  • Application Behavior: Billing or usage records showing consumption of model resources (e.g., gpt-4, gpt-4o) by API keys whose configuration only permits lower-tier models (e.g., gpt-4o-mini) (GitHub PR).

Mitigation and workarounds

A patch is available via GitHub pull request #43049, merged into the LiteLLM main branch on September 25, 2026; users should upgrade to a version incorporating this fix (GitHub PR, Github Advisory). As interim workarounds, administrators should review and restrict virtual key model alias configurations, avoid assigning aliases that point to models outside the key's explicit allowlist, and implement the principle of least privilege for all API key configurations. Monitor proxy logs for anomalous model access patterns as described in the IOCs section.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related Chainguard vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-136535HIGH7.2
  • Chainguard logoChainguard
  • cpe:2.3:a:litellm:litellm
NoYesNov 24, 2026
CVE-2026-136538MEDIUM6.5
  • Chainguard logoChainguard
  • cpe:2.3:a:litellm:litellm
NoYesNov 24, 2026
CVE-2026-136537MEDIUM6.5
  • Chainguard logoChainguard
  • litellm
NoYesNov 24, 2026
CVE-2026-136536MEDIUM6.4
  • Chainguard logoChainguard
  • cpe:2.3:a:litellm:litellm
NoYesNov 24, 2026
CVE-2026-136540MEDIUM5.3
  • Chainguard logoChainguard
  • litellm
NoYesNov 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management