SECURITY & CVE TRACK RECORD

LiteLLM Security Advisories, CVEs & Patched Versions

Historical vulnerability disclosures, CVSS severity ratings, affected version ranges, and verified patch releases for LiteLLM.

Total Tracked Advisories
85
40 distinct CVE numbers
Critical & High Severity
45
53% of all disclosures
Latest Security Fix
1.95.0
Read patch changelog →
Security Posture Status
High Scrutiny
Deterministic OSV.dev telemetry
Tracked Vulnerability Timeline (60)
GHSA-g5ff-637f-6q2m Oct 27, 2026
HIGH (CVSS 8.1)

LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`

## Summary An authenticated LiteLLM proxy user could read arbitrary local files from the proxy runtime by sending a crafted `vertex_ai_credentials` value to `/utils/transform_request`. The request-body safety blocklist rejected `vertex_credentials` but missed its alias `verte...

Vulnerable Range: 0 -> 1.95.0
Official Advisory Source ↗
🛡️ CVE-2026-114612 GHSA-7hp6-4w63-5g45 Oct 27, 2026
CRITICAL (CVSS 9.9)

LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key

### Summary An authenticated user with `internal_user` privileges can escalate to `proxy_admin` and achieve remote code execution. The proxy uses one encryption key for two purposes: sealing secrets at rest and minting session tokens. An attacker exploits this by requesting a...

Vulnerable Range: 1.91.0 -> 1.100.4, 1.101.0 -> 1.101.3, 1.102.0 -> 1.102.2
Official Advisory Source ↗
🛡️ CVE-2026-84377 PYSEC-2026-4066 Oct 01, 2026
MEDIUM (CVSS 6.5)

LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters

### Impact Any authenticated LiteLLM proxy user could redirect an outbound provider call to a destination they control and cause the proxy to send its own configured provider credentials to that destination. The proxy's request-body validation was a denylist that did not cove...

Vulnerable Range: 0 -> 1.88.6
Official Advisory Source ↗
🛡️ CVE-2026-59823 PYSEC-2026-4070 Oct 01, 2026
UNRATED

LiteLLM Proxy has server-side request forgery via the `user_config` request parameter

### Summary A server-side request forgery in LiteLLM Proxy lets an authenticated caller redirect the proxy's outbound request to a host of their choosing by smuggling an `api_base` inside the `user_config` request body, bypassing the existing parameter guard. ### Details Lite...

Vulnerable Range: 0 -> 1.83.9
Fix Version: 1.83.9
Official Advisory Source ↗
🛡️ CVE-2026-12796 PYSEC-2026-4076 Oct 01, 2026
MEDIUM (CVSS 6.3)

BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens

A vulnerability was identified in BerriAI litellm up to 1.82.2. This impacts the function get_redirect_response_from_openid of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Authentication Flow. The manipulation leads to session expiration. The atta...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12798 PYSEC-2026-4069 Oct 01, 2026
MEDIUM (CVSS 6.3)

BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader

A weakness has been identified in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function load_openapi_spec_async of the file litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py of the component MCP OpenAPI Spec Loader. This manipulation of ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12799 PYSEC-2026-4072 Oct 01, 2026
MEDIUM (CVSS 4.3)

BerriAI litellm: UI User Enumeration leads to System-Wide Information Disclosure

A security vulnerability has been detected in BerriAI litellm up to 1.82.2. Affected by this issue is the function ui_view_users of the file litellm/proxy/management_endpoints/internal_user_endpoints.py of the component Incomplete Fix CVE-2025-0628. Such manipulation leads to ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12797 PYSEC-2026-4074 Oct 01, 2026
MEDIUM (CVSS 6.3)

BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints

A security flaw has been discovered in BerriAI litellm up to 1.82.5. Affected is the function async_pre_call_hook of the file enterprise/enterprise_hooks/banned_keywords.py of the component Completions Interface. The manipulation of the argument prompt results in incorrect aut...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12795 PYSEC-2026-4071 Oct 01, 2026
HIGH (CVSS 7.3)

LiteLLM: SSO Debug Flow Has Improper Authentication

A vulnerability was determined in BerriAI litellm up to 1.82.2. This affects the function json.dumps of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Debug Flow. Executing a manipulation can lead to missing authentication. The attack can be execute...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12773 PYSEC-2026-4067 Oct 01, 2026
HIGH (CVSS 7.3)

LiteLLM: MCP Proxy Has Improper Authentication

A weakness has been identified in BerriAI litellm up to 1.59.8. Affected is the function UserAPIKeyAuth of the file litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py of the component MCP Proxy. Executing a manipulation can lead to improper authentication. Th...

Vulnerable Range: 0 -> 1.84.0
Official Advisory Source ↗
🛡️ CVE-2026-12771 PYSEC-2026-4075 Oct 01, 2026
MEDIUM (CVSS 5.0)

LiteLLM: M2M JWT Handler Has Improper Authorization

A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12772 PYSEC-2026-4073 Oct 01, 2026
MEDIUM (CVSS 6.3)

LiteLLM: PROXY_ADMIN database API Key Generator Has Insufficient Session Expiration

A security flaw has been discovered in BerriAI litellm up to 1.82.2. This impacts the function authenticate_user of the file litellm/proxy/auth/login_utils.py of the component PROXY_ADMIN database API Key Generator. Performing a manipulation results in session expiration. The ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12770 PYSEC-2026-4068 Oct 01, 2026
MEDIUM (CVSS 5.4)

LiteLLM: Admin Key Handler Has Improper Authorization

A vulnerability was determined in BerriAI litellm up to 1.63.1. The impacted element is an unknown function of the file litellm/proxy/management_endpoints/key_management_endpoints.py of the component Admin Key Handler. This manipulation causes improper authorization. The attac...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-84377 GHSA-3cv6-jpf6-8222 Sep 30, 2026
MEDIUM (CVSS 6.5)

LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters

### Impact Any authenticated LiteLLM proxy user could redirect an outbound provider call to a destination they control and cause the proxy to send its own configured provider credentials to that destination. The proxy's request-body validation was a denylist that did not cove...

Vulnerable Range: 0 -> 1.88.6, 1.89.0 -> 1.89.7, 1.90.0 -> 1.90.7
Official Advisory Source ↗
🛡️ CVE-2026-59823 GHSA-hx8v-g79f-8w5f Sep 17, 2026
MEDIUM

LiteLLM Proxy has server-side request forgery via the `user_config` request parameter

### Summary A server-side request forgery in LiteLLM Proxy lets an authenticated caller redirect the proxy's outbound request to a host of their choosing by smuggling an `api_base` inside the `user_config` request body, bypassing the existing parameter guard. ### Details Lite...

Vulnerable Range: 0 -> 1.83.9
Fix Version: 1.83.9
Official Advisory Source ↗
🛡️ CVE-2026-37004 PYSEC-2026-3861 Sep 10, 2026
CRITICAL (CVSS 9.8)

LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint

BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute arbitrary OS commands via a crafted dotprompt_content parameter in the /prompts/test endpoint due to use of an unsandboxed jinja2.Environment.

Vulnerable Range: 0 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2026-37004 GHSA-6wvf-77m9-58rm Aug 27, 2026
CRITICAL (CVSS 9.8)

LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint

BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute arbitrary OS commands via a crafted dotprompt_content parameter in the /prompts/test endpoint due to use of an unsandboxed jinja2.Environment.

Vulnerable Range: 0 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2026-59821 PYSEC-2026-3478 Jul 23, 2026
UNRATED

LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

### Impact LiteLLM's Custom Code Guardrails production create/update paths did not apply the same sandboxing and validation used by the test endpoint. A privileged user with access to create or update guardrails could submit custom Python code that executed in the LiteLLM pr...

Vulnerable Range: 0 -> 1.82.0
Fix Version: 1.82.0
Official Advisory Source ↗
🛡️ CVE-2026-59822 PYSEC-2026-3479 Jul 23, 2026
UNRATED

LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback

### Impact LiteLLM's MCP Streamable HTTP endpoint could allow an unauthenticated attacker to establish an authenticated MCP session using an arbitrary Bearer token. The MCP auth handler supported OAuth2 passthrough for upstream MCP servers, but the fallback path could replac...

Vulnerable Range: 0 -> 1.84.0
Official Advisory Source ↗
🛡️ CVE-2026-59819 PYSEC-2026-3476 Jul 23, 2026
UNRATED

LiteLLM: Local file read via request-supplied OIDC file references

### Impact LiteLLM's `/health/test_connection` endpoint resolved request-supplied environment and OIDC file references in `litellm_params`. A proxy administrator, or another privileged caller with permission to test model connections, could cause LiteLLM to read files from th...

Vulnerable Range: 0 -> 1.83.10
Fix Version: 1.83.10
Official Advisory Source ↗
🛡️ CVE-2026-59820 PYSEC-2026-3477 Jul 23, 2026
UNRATED

LiteLLM: Arbitrary file write via path traversal in Skills archive extraction

### Impact LiteLLM Skills archive extraction did not sufficiently validate file paths from uploaded skill ZIP archives. An authenticated user with access to LiteLLM LLM API routes, or a key whose `allowed_routes` includes `/v1/skills`, `anthropic_routes`, or `llm_api_routes`,...

Vulnerable Range: 0 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2026-59821 GHSA-72m8-9m7m-h278 Jul 22, 2026
LOW

LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

### Impact LiteLLM's Custom Code Guardrails production create/update paths did not apply the same sandboxing and validation used by the test endpoint. A privileged user with access to create or update guardrails could submit custom Python code that executed in the LiteLLM pr...

Vulnerable Range: 0 -> 1.82.0
Fix Version: 1.82.0
Official Advisory Source ↗
🛡️ CVE-2026-59822 GHSA-7488-6r32-c95q Jul 22, 2026
HIGH

LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback

### Impact LiteLLM's MCP Streamable HTTP endpoint could allow an unauthenticated attacker to establish an authenticated MCP session using an arbitrary Bearer token. The MCP auth handler supported OAuth2 passthrough for upstream MCP servers, but the fallback path could replac...

Vulnerable Range: 0 -> 1.84.0
Official Advisory Source ↗
🛡️ CVE-2026-59819 GHSA-4g5m-c9r5-49xf Jul 22, 2026
LOW

LiteLLM: Local file read via request-supplied OIDC file references

### Impact LiteLLM's `/health/test_connection` endpoint resolved request-supplied environment and OIDC file references in `litellm_params`. A proxy administrator, or another privileged caller with permission to test model connections, could cause LiteLLM to read files from th...

Vulnerable Range: 0 -> 1.83.10
Fix Version: 1.83.10
Official Advisory Source ↗
🛡️ CVE-2026-59820 GHSA-5jmr-gcrj-2c9q Jul 22, 2026
MEDIUM

LiteLLM: Arbitrary file write via path traversal in Skills archive extraction

### Impact LiteLLM Skills archive extraction did not sufficiently validate file paths from uploaded skill ZIP archives. An authenticated user with access to LiteLLM LLM API routes, or a key whose `allowed_routes` includes `/v1/skills`, `anthropic_routes`, or `llm_api_routes`,...

Vulnerable Range: 0 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2026-47102 PYSEC-2026-2600 Jul 13, 2026
HIGH (CVSS 8.8)

LiteLLM allows a user to modify their own user_role via the /user/update endpoint

LiteLLM prior to 1.83.10 allows a user to modify their own user_role via the /user/update endpoint. While the endpoint correctly restricts users to updating only their own account, it does not restrict which fields may be changed. A user who can reach this endpoint can set the...

Vulnerable Range: 0 -> 1.83.10
Fix Version: 1.83.10
Official Advisory Source ↗
🛡️ CVE-2026-47101 PYSEC-2026-2598 Jul 13, 2026
HIGH (CVSS 8.8)

LiteLLM allows an authenticated internal_user to create API keys with access to routes that their role does not permit

LiteLLM prior to 1.83.14 allows an authenticated internal_user to create API keys with access to routes that their role does not permit. When generating a key, the allowed_routes field is stored without verifying that the specified routes fall within the user's own permissions...

Vulnerable Range: 0 -> 1.83.14
Fix Version: 1.83.14
Official Advisory Source ↗
🛡️ CVE-2026-40217 PYSEC-2026-2601 Jul 13, 2026
HIGH (CVSS 8.8)

LiteLLM has a sandbox escape in custom-code guardrail

### Impact The `POST /guardrails/test_custom_code` endpoint runs user-supplied Python inside a hand-rolled sandbox. The sandbox can be escaped using bytecode-level techniques, allowing arbitrary code execution in the proxy process - which runs as root in the default Docker im...

Vulnerable Range: 1.81.8 -> 1.83.10
Fix Version: 1.83.10
Official Advisory Source ↗
🛡️ CVE-2026-42271 PYSEC-2026-2599 Jul 13, 2026
HIGH (CVSS 8.8)

LiteLLM: Authenticated command execution via MCP stdio test endpoints

### Impact Two endpoints used to preview an MCP server before saving it - `POST /mcp-rest/test/connection` and `POST /mcp-rest/test/tools/list` - accepted a full server configuration in the request body, including the `command`, `args`, and `env` fields used by the stdio tran...

Vulnerable Range: 1.74.2 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2026-42203 PYSEC-2026-2602 Jul 13, 2026
UNRATED

LiteLLM: Server-Side Template Injection in /prompts/test endpoint

### Impact The `POST /prompts/test` endpoint accepted user-supplied prompt templates and rendered them without sandboxing. A crafted template could run arbitrary code inside the LiteLLM Proxy process. The endpoint only checks that the caller presents a valid proxy API key, so...

Vulnerable Range: 1.80.5 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2026-35029 PYSEC-2026-2597 Jul 13, 2026
UNRATED

LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint

### Impact The `/config/update endpoint` does not enforce admin role authorization. A user who is already authenticated into the platform can then use this endpoint to do the following: - Modify proxy configuration and environment variables - Register custom pass-through...

Vulnerable Range: 0 -> 1.83.0
Fix Version: 1.83.0
Official Advisory Source ↗
🛡️ CVE-2025-0330 PYSEC-2026-1543 Jul 07, 2026
HIGH (CVSS 7.5)

LiteLLM Has a Leakage of Langfuse API Keys

In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error occurs while parsing team settings. This vulnerability exposes sensitive information, including langfuse_secret and langfuse_public_key, which can provide full...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-0628 PYSEC-2026-1546 Jul 07, 2026
HIGH (CVSS 8.1)

LiteLLM Has an Improper Authorization Vulnerability

An improper authorization vulnerability exists in the main-latest version of BerriAI/litellm. When a user with the role 'internal_user_viewer' logs into the application, they are provided with an overly privileged API key. This key can be used to access all the admin functiona...

Vulnerable Range: 0 -> 1.61.15
Fix Version: 1.61.15
Official Advisory Source ↗
🛡️ CVE-2024-9606 PYSEC-2026-1548 Jul 07, 2026
HIGH (CVSS 7.5)

LiteLLM Reveals Portion of API Key via a Logging File

In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerability where the API key masking code only masks the first 5 characters of the key. This results in the leakage of almost the entire API key in the logs, expos...

Vulnerable Range: 0 -> 1.44.12
Fix Version: 1.44.12
Official Advisory Source ↗
🛡️ CVE-2024-8984 PYSEC-2026-1545 Jul 07, 2026
HIGH (CVSS 7.5)

LiteLLM Vulnerable to Denial of Service (DoS) via Crafted HTTP Request

A Denial of Service (DoS) vulnerability exists in berriai/litellm version v1.44.5. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. The server continuously processes each character, leading ...

Vulnerable Range: 0 -> 1.56.2
Official Advisory Source ↗
🛡️ CVE-2024-6825 PYSEC-2026-1541 Jul 07, 2026
HIGH (CVSS 8.8)

LiteLLM Vulnerable to Remote Code Execution (RCE)

BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. The provided value is split at the final '.' mark, with the last part co...

Vulnerable Range: 1.40.3.dev2 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-10188 PYSEC-2026-1549 Jul 07, 2026
HIGH (CVSS 7.5)

LiteLLM Vulnerable to Denial of Service (DoS)

A vulnerability in BerriAI/litellm, as of commit 26c03c9, allows unauthenticated users to cause a Denial of Service (DoS) by exploiting the use of ast.literal_eval to parse user input. This function is not safe and is prone to DoS attacks, which can crash the litellm Python se...

Vulnerable Range: 0 -> 1.53.1.dev1
Fix Version: 1.53.1.dev1
Official Advisory Source ↗
🛡️ CVE-2024-6587 PYSEC-2026-1547 Jul 07, 2026
HIGH (CVSS 7.5)

LiteLLM Server-Side Request Forgery (SSRF) vulnerability

A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. This vulnerability allows users to specify the `api_base` parameter when making requests to `POST /chat/completions`, causing the application to send the request to the domain specifi...

Vulnerable Range: 0 -> 1.44.8
Fix Version: 1.44.8
Official Advisory Source ↗
🛡️ CVE-2024-5710 PYSEC-2026-1551 Jul 07, 2026
MEDIUM (CVSS 5.3)

litellm vulnerable to improper access control in team management

berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. This vulnerability allows attackers to perform unauthorized actions such as creating, updating, viewing, deleting, blocking, and unblocking any teams, as well as addi...

Vulnerable Range: 0 -> 1.40.15
Fix Version: 1.40.15
Official Advisory Source ↗
🛡️ CVE-2024-5225 PYSEC-2026-1550 Jul 07, 2026
MEDIUM (CVSS 6.4)

SQL injection in litellm

An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` endpoint. The vulnerability arises due to improper neutralization of special elements used in an SQL command. The affected code constructs an SQL query by conc...

Vulnerable Range: 0 -> 1.40.0
Fix Version: 1.40.0
Official Advisory Source ↗
🛡️ CVE-2024-4890 PYSEC-2026-1544 Jul 07, 2026
MEDIUM (CVSS 4.9)

SQL injection in litellm

A blind SQL injection vulnerability exists in the berriai/litellm application, specifically within the '/team/update' process. The vulnerability arises due to the improper handling of the 'user_id' parameter in the raw SQL query used for deleting users. An attacker can exploit...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-4888 PYSEC-2026-1540 Jul 07, 2026
MEDIUM (CVSS 6.5)

Arbitrary file deletion in litellm

BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on the `/audio/transcriptions` endpoint. An attacker can exploit this vulnerability by sending a specially crafted request that includes a file path to the serve...

Vulnerable Range: 0 -> 1.35.36
Fix Version: 1.35.36
Official Advisory Source ↗
🛡️ CVE-2024-4264 PYSEC-2026-1542 Jul 07, 2026
HIGH (CVSS 7.2)

litellm passes untrusted data to `eval` function without sanitization

A remote code execution (RCE) vulnerability exists in the berriai/litellm project due to improper control of the generation of code when using the `eval` function unsafely in the `litellm.get_secret()` method. Specifically, when the server utilizes Google KMS, untrusted data i...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-35030 PYSEC-2026-390 Jun 29, 2026
UNRATED

LiteLLM: Authentication bypass via OIDC userinfo cache key collision

### Impact When JWT authentication is enabled (`enable_jwt_auth: true`), the OIDC userinfo cache uses `token[:20]` as the cache key. JWT headers produced by the same signing algorithm generate identical first 20 characters. This configuration option is not enabled by defaul...

Vulnerable Range: 0 -> 1.83.0
Fix Version: 1.83.0
Official Advisory Source ↗
🛡️ CVE-2026-42208 PYSEC-2026-391 Jun 29, 2026
CRITICAL (CVSS 9.8)

LiteLLM has SQL Injection in Proxy API key verification

### Impact A database query used during proxy API key checks mixed the caller-supplied key value into the query text instead of passing it as a separate parameter. An unauthenticated attacker could send a specially crafted `Authorization` header to any LLM API route (for exam...

Vulnerable Range: 1.81.16 -> 1.83.7
Fix Version: 1.83.7
Official Advisory Source ↗
🛡️ CVE-2024-5751 PYSEC-2026-389 Jun 29, 2026
CRITICAL (CVSS 9.8)

litellm vulnerable to remote code execution based on using eval unsafely

BerriAI/litellm version v1.35.8 contains a vulnerability where an attacker can achieve remote code execution. The vulnerability exists in the `add_deployment` function, which decodes and decrypts environment variables from base64 and assigns them to `os.environ`. An attacker c...

Vulnerable Range: 0 -> 1.40.16
Fix Version: 1.40.16
Official Advisory Source ↗
🛡️ CVE-2024-2952 PYSEC-2026-387 Jun 29, 2026
CRITICAL (CVSS 9.8)

LiteLLM has Server-Side Template Injection vulnerability in /completions endpoint

BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. The vulnerability arises from the `hf_chat_template` method processing the `chat_template` parameter from the `tokenizer_config.json` file through the Jinja template engine ...

Vulnerable Range: 0 -> 1.34.42
Fix Version: 1.34.42
Official Advisory Source ↗
🛡️ CVE-2026-12798 GHSA-c693-x898-5g4h Jun 21, 2026
MEDIUM (CVSS 6.3)

BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader

A weakness has been identified in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function load_openapi_spec_async of the file litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py of the component MCP OpenAPI Spec Loader. This manipulation of ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12799 GHSA-m2v5-74w2-qhcj Jun 21, 2026
MEDIUM (CVSS 4.3)

BerriAI litellm: UI User Enumeration leads to System-Wide Information Disclosure

A security vulnerability has been detected in BerriAI litellm up to 1.82.2. Affected by this issue is the function ui_view_users of the file litellm/proxy/management_endpoints/internal_user_endpoints.py of the component Incomplete Fix CVE-2025-0628. Such manipulation leads to ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12797 GHSA-p897-vf7j-f5h8 Jun 21, 2026
MEDIUM (CVSS 6.3)

BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints

A security flaw has been discovered in BerriAI litellm up to 1.82.5. Affected is the function async_pre_call_hook of the file enterprise/enterprise_hooks/banned_keywords.py of the component Completions Interface. The manipulation of the argument prompt results in incorrect aut...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12796 GHSA-w2mh-qq9q-453x Jun 21, 2026
MEDIUM (CVSS 6.3)

BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens

A vulnerability was identified in BerriAI litellm up to 1.82.2. This impacts the function get_redirect_response_from_openid of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Authentication Flow. The manipulation leads to session expiration. The atta...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12795 GHSA-j37q-q7p9-vpwm Jun 21, 2026
HIGH (CVSS 7.3)

LiteLLM: SSO Debug Flow Has Improper Authentication

A vulnerability was determined in BerriAI litellm up to 1.82.2. This affects the function json.dumps of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Debug Flow. Executing a manipulation can lead to missing authentication. The attack can be execute...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12773 GHSA-4jcj-7x88-m979 Jun 21, 2026
HIGH (CVSS 7.3)

LiteLLM: MCP Proxy Has Improper Authentication

A weakness has been identified in BerriAI litellm up to 1.59.8. Affected is the function UserAPIKeyAuth of the file litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py of the component MCP Proxy. Executing a manipulation can lead to improper authentication. Th...

Vulnerable Range: 0 -> 1.84.0
Official Advisory Source ↗
🛡️ CVE-2026-12770 GHSA-6qr3-3g89-m4jj Jun 21, 2026
MEDIUM (CVSS 5.4)

LiteLLM: Admin Key Handler Has Improper Authorization

A vulnerability was determined in BerriAI litellm up to 1.63.1. The impacted element is an unknown function of the file litellm/proxy/management_endpoints/key_management_endpoints.py of the component Admin Key Handler. This manipulation causes improper authorization. The attac...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12772 GHSA-mf52-j94g-746m Jun 21, 2026
MEDIUM (CVSS 6.3)

LiteLLM: PROXY_ADMIN database API Key Generator Has Insufficient Session Expiration

A security flaw has been discovered in BerriAI litellm up to 1.82.2. This impacts the function authenticate_user of the file litellm/proxy/auth/login_utils.py of the component PROXY_ADMIN database API Key Generator. Performing a manipulation results in session expiration. The ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-12771 GHSA-qmf3-4767-5fg3 Jun 21, 2026
MEDIUM (CVSS 5.0)

LiteLLM: M2M JWT Handler Has Improper Authorization

A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-49468 GHSA-4xpc-pv4p-pm3w Jun 16, 2026
CRITICAL (CVSS 9.8)

LiteLLM: Authentication Bypass via Host Header Injection

### Impact A Host-header parsing flaw in the LiteLLM proxy could, under specific conditions, allow unauthenticated access to protected management routes. The auth layer derived the effective route from `request.url.path` in `litellm/proxy/auth/auth_utils.py::get_request_rout...

Vulnerable Range: 0 -> 1.84.0
Official Advisory Source ↗
🛡️ CVE-2026-47102 GHSA-wpfp-gwwc-vwq6 May 21, 2026
HIGH (CVSS 8.8)

LiteLLM allows a user to modify their own user_role via the /user/update endpoint

LiteLLM prior to 1.83.10 allows a user to modify their own user_role via the /user/update endpoint. While the endpoint correctly restricts users to updating only their own account, it does not restrict which fields may be changed. A user who can reach this endpoint can set the...

Vulnerable Range: 0 -> 1.83.10
Fix Version: 1.83.10
Official Advisory Source ↗