p PatchFirst

PatchFirst · Latest vulnerabilities

litellm vulnerabilities

Vulnerabilities published for litellm in the last 30 days: 0. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 42

  1. CVE-2026-59823

    Medium · CVSS 5.3EPSS 0.44%Fix available

    LiteLLM: Server-side request forgery via the `user_config` request parameter in LiteLLM Proxy

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.9, an authenticated LiteLLM Proxy caller with a valid virtual key can place api_base inside the user_config request body to bypass is_request_body_safe, which blocks top-level api_base and base_url but previously did not inspect or reject user_config. Because user_config constructs the outbound router, the nested destination redirects a server-side request to an internal or external host selected by the caller and can expose endpoints the caller cannot otherwise access. This issue is fixed in version 1.83.9.

    • Update to 1.83.9
    Published Updated
  2. CVE-2026-84377

    Medium · CVSS 6.5EPSS 0.54%Fix available

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

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to versions 1.88.6 and 1.96.2, any authenticated LiteLLM proxy user could redirect an outbound provider call to a destination the user controls and cause the proxy to send its configured provider credentials to that destination. Request validation in litellm/proxy/auth/auth_utils.py, litellm/proxy/common_request_processing.py, litellm/proxy/health_endpoints/_health_endpoints.py, litellm/proxy/image_endpoints/endpoints.py, and litellm/proxy/litellm_pre_call_utils.py used incomplete checks that did not cover every sensitive parameter or inspect equivalen

    • Update to 1.88.6
    • Update to 1.89.7
    • Update to 1.90.7
    • Update to 1.91.5
    • Update to 1.92.2
    • Update to 1.93.2
    • Update to 1.94.3
    • Update to 1.95.1
    • Update to 1.96.2
    Published Updated
  3. CVE-2026-37004

    Critical · CVSS 9.8EPSS 0.8%Fix available

    CVE-2026-37004

    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.

    • Update to 1.83.7
    Published Updated
  4. CVE-2026-59819

    Low · CVSS 2.1EPSS 0.57%Fix available

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

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.10-stable, LiteLLM's /health/test_connection endpoint resolved request-supplied environment and OIDC file references in litellm_params, allowing a proxy administrator or another privileged caller with permission to test model connections to read files from the local filesystem via an oidc/file/ reference. This issue is fixed in version 1.83.10-stable.

    • Update to 1.83.10
    Published Updated
  5. CVE-2026-59822

    High · CVSS 8.8EPSS 0.84%In KEVFix available

    LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, LiteLLM's MCP Streamable HTTP endpoint allowed an unauthenticated attacker to use a fabricated Authorization header to trigger an OAuth2 passthrough fallback path that replaced failed LiteLLM key validation with an empty UserAPIKeyAuth() object, allowing requests to reach MCP tooling without a valid LiteLLM key. This issue is fixed in version 1.84.0.

    • Update to 1.84.0
    Published Updated
  6. CVE-2026-59820

    Medium · CVSS 6.1EPSS 0.59%Fix available

    LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.7-stable, LiteLLM Skills archive extraction did not sufficiently validate file paths from uploaded skill ZIP archives, allowing 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 to upload a crafted skill archive containing path traversal entries that could be written outside the intended extraction or staging directory. This issue is fixed in version 1.83.7-stable.

    • Update to 1.83.7
    Published Updated
  7. CVE-2026-59821

    Low · CVSS 2.1EPSS 0.9%Fix available

    LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowing a privileged user with access to create or update guardrails to submit custom Python code that executed in the LiteLLM proxy environment and could expose secrets available to the process. This issue is fixed in version 1.82.0-stable.

    • Update to 1.82.0
    Published Updated
  8. CVE-2026-49468

    Critical · CVSS 9.5EPSS 3.03%Public exploitFix available

    LiteLLM: Authentication Bypass via Host Header Injection

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, 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_route(), which Starlette reconstructs from the Host header. A crafted Host could therefore make the auth gate evaluate a different route from the one FastAPI dispatched. This vulnerability is fixed in 1.84.0.

    • Update to 1.84.0
    Published Updated
  9. CVE-2026-12799

    Medium · CVSS 5.3EPSS 0.43%No fix published

    BerriAI litellm Incomplete Fix CVE-2025-0628 internal_user_endpoints.py ui_view_users improper authorization

    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 improper authorization. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure.

    Published Updated
  10. CVE-2026-12798

    Medium · CVSS 5.3EPSS 0.4%No fix published

    BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery

    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 the argument spec_path causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.

    Published Updated
  11. CVE-2026-12797

    Medium · CVSS 5.3EPSS 0.4%No fix published

    BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization

    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 authorization. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.

    Published Updated
  12. CVE-2026-12796

    Medium · CVSS 5.3EPSS 0.57%No fix published

    BerriAI litellm SSO Authentication Flow ui_sso.py get_redirect_response_from_openid session expiration

    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 attack is possible to be carried out remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.

    Published Updated
  13. CVE-2026-12795

    Medium · CVSS 6.9EPSS 0.8%No fix published

    BerriAI litellm SSO Debug Flow ui_sso.py json.dumps missing 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 executed remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure.

    Published Updated
  14. CVE-2026-12773

    Medium · CVSS 6.9EPSS 1.02%Fix available

    BerriAI litellm MCP Proxy user_api_key_auth_mcp.py UserAPIKeyAuth 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. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.

    • Update to 1.84.0
    Published Updated
  15. CVE-2026-12772

    Medium · CVSS 5.3EPSS 0.4%No fix published

    BerriAI litellm PROXY_ADMIN database API Key Generator login_utils.py authenticate_user 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 attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.

    Published Updated
  16. CVE-2026-12771

    Low · CVSS 2.3EPSS 0.43%No fix published

    BerriAI litellm M2M JWT user_api_key_auth.py 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 complexity level is associated with this attack. The exploitability is reported as difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.

    Published Updated
  17. CVE-2026-12770

    Medium · CVSS 5.3EPSS 0.57%No fix published

    BerriAI litellm Admin Key key_management_endpoints.py 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 attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. Patch name: 23781. It is recommended to apply a patch to fix this issue. The vendor was contacted early about this disclosure.

    Published Updated
  18. CVE-2026-47102

    High · CVSS 8.7EPSS 0.82%Fix available

    LiteLLM < 1.83.10 Privilege Escalation via User Update

    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 their role to proxy_admin, gaining full administrative access to LiteLLM including all users, teams, keys, models, and prompt history. Users with the org_admin role have legitimate access to this endpoint and can exploit this vulnerability without chaining any additional flaw.

    • Update to 1.83.10
    Published Updated
  19. CVE-2026-47101

    High · CVSS 8.7EPSS 1.33%Fix available

    LiteLLM < 1.83.14 Privilege Escalation via API Key Generation

    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. A key created with access to admin-only routes can then be used to reach those routes successfully, bypassing the role-based access controls that would otherwise block the request, enabling full privilege escalation from internal_user to proxy_admin.

    • Update to 1.83.14
    Published Updated
  20. CVE-2026-42208

    Critical · CVSS 9.3EPSS 5.77%In KEVPublic exploitFix available

    LiteLLM: SQL injection in Proxy API key verification

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.81.16 to before version 1.83.7, 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 example POST /chat/completions) and reach this query through the proxy's error-handling path. An attacker could read data from the proxy's database and may be able to modify it, leading to unauthorised access to the proxy and the credentials it manages. This

    • Update to 1.83.7
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →