Skip to main content
Vulnerability Database/CVE-2026-108575

CVE-2026-108575: BerriAI LiteLLM Auth Bypass Vulnerability

CVE-2026-108575 is an authentication bypass flaw in BerriAI LiteLLM up to version 1.94.0 that allows unauthorized access through improper authorization. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108575 Overview

CVE-2026-108575 is an improper authorization vulnerability in BerriAI LiteLLM versions up to 1.94.0. The flaw resides in the get_secret function within secret_managers/main.py, part of the Secret Resolution component. Manipulation of the api_key argument triggers improper authorization behavior that attackers can exploit remotely over the network. Public disclosure of the exploit has occurred, and the vendor did not respond to early disclosure attempts. The weakness is tracked as [CWE-266] (Incorrect Privilege Assignment).

Critical Impact

Remote attackers with low privileges can abuse the get_secret function to bypass intended authorization boundaries around secret and API key resolution in LiteLLM proxy deployments.

Affected Products

  • BerriAI LiteLLM versions up to and including 1.94.0
  • Deployments using the secret_managers/main.py Secret Resolution component
  • LiteLLM proxy configurations that resolve api_key values at runtime

Discovery Timeline

  • 2026-10-11 - CVE-2026-108575 published to NVD
  • 2026-10-15 - Last updated in NVD database

Technical Details for CVE-2026-108575

Vulnerability Analysis

The vulnerability resides in the get_secret function in secret_managers/main.py, which handles secret resolution for LiteLLM. Attackers manipulate the api_key argument to influence how the function resolves and authorizes access to secret material. Because the component performs secret lookup without sufficient authorization enforcement, callers can obtain or reference values beyond their intended scope.

LiteLLM functions as a unified proxy and SDK for routing requests to multiple large language model (LLM) providers. The Secret Resolution subsystem is responsible for mapping configuration references into live credentials such as provider API keys. Weak authorization checks in this path expose credential handling logic to tenants or clients that should not reach it.

The exploit has been publicly disclosed. The vendor was contacted before disclosure but did not respond, which leaves exposed deployments without a confirmed vendor-supplied fix at publication.

Root Cause

The root cause is improper authorization within the get_secret code path. The function accepts an api_key argument and resolves secret values without consistently validating that the requesting context has the right to those secrets. This maps to [CWE-266], where privilege assignment does not match the sensitivity of the resource being accessed.

Attack Vector

The attack vector is network-based and requires only low privileges. An authenticated or semi-trusted caller submits a crafted api_key value through an interface that reaches get_secret. Because the function performs resolution without strict authorization checks, the attacker influences secret selection and gains access that violates the intended authorization model.

No verified public exploit code is available at the time of writing. Technical details and proof-of-concept artifacts are referenced in the VulDB entry for CVE-2026-108575 and the associated VulDB vulnerability record.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-108575

Indicators of Compromise

  • Unexpected calls to get_secret in secret_managers/main.py with unusual or externally supplied api_key arguments
  • LiteLLM proxy log entries showing secret resolution requests from low-privilege API consumers
  • Outbound LLM provider traffic authenticated with API keys not mapped to the originating tenant or user
  • Access attempts to secret manager backends (AWS Secrets Manager, HashiCorp Vault, Azure Key Vault) originating from LiteLLM at unexpected times

Detection Strategies

  • Instrument LiteLLM to log the caller identity, resolved secret identifier, and target provider for every get_secret invocation
  • Alert on api_key arguments containing path-like separators, templated references, or values that cross tenant boundaries
  • Correlate LiteLLM proxy authentication events with downstream provider API key usage to identify authorization mismatches
  • Baseline normal secret resolution patterns per API consumer and flag deviations in frequency or diversity of referenced keys

Monitoring Recommendations

  • Forward LiteLLM proxy logs to a centralized analytics platform for retention and anomaly analysis
  • Enable audit logging on upstream secret manager backends and reconcile reads against expected LiteLLM activity
  • Track egress to LLM provider endpoints and alert on sudden shifts in provider or model mix per tenant
  • Review commit history and container image provenance to confirm the running LiteLLM version matches an approved build

How to Mitigate CVE-2026-108575

Immediate Actions Required

  • Inventory all BerriAI LiteLLM deployments and identify instances running version 1.94.0 or earlier
  • Restrict network access to LiteLLM proxy endpoints so only trusted internal services can invoke them
  • Rotate any provider API keys and secret manager credentials that LiteLLM has resolved recently
  • Enforce strong authentication and tenant isolation on every route that can reach get_secret

Patch Information

No vendor patch is referenced in the available advisory data. The vendor was contacted before public disclosure but did not respond. Monitor the BerriAI LiteLLM project and the VulDB CVE-2026-108575 entry for fix availability, and track upstream releases above 1.94.0 for a remediated build.

Workarounds

  • Place LiteLLM behind an authenticated API gateway that validates caller identity and strips untrusted api_key parameters
  • Scope secret manager permissions granted to LiteLLM to the minimum set of keys required for production use
  • Disable or remove unused secret resolution providers in secret_managers/main.py configuration to reduce the exposed surface
  • Apply short time-to-live (TTL) values on provider API keys so compromised secrets expire quickly
bash
# Configuration example: restrict LiteLLM proxy to internal callers only
# Example reverse proxy allow-list (nginx)
location /litellm/ {
    allow 10.0.0.0/8;
    deny all;
    proxy_pass http://litellm-upstream;
    proxy_set_header Authorization $http_authorization;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.