CVE-2026-12773: BerriAI litellm MCP Proxy user_api_key_auth_mcp.py UserAPIKeyAuth improper authentication

Published Jun 21, 2026
·
Updated

A weakness has been identified in BerriAI litellm up to 1.59.8. Affected is the function UserAPIKeyAuth of the file litellm/proxy/experimental/mcpserver/auth/userapikeyauthmcp.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.

Affected Software

2 affected components
pypi/litellm<=1.59.8
LiteLLM LiteLLM<1.59.9

Event History

Jun 21, 2026
CVE Published
via MITRE·03:15 AM
Data Sourced
via MITRE·03:15 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12773?

The severity of CVE-2026-12773 is rated high with a score of 7.3.

2

How do I fix CVE-2026-12773?

To fix CVE-2026-12773, update BerriAI litellm to version 1.59.9 or later.

3

What vulnerability does CVE-2026-12773 represent?

CVE-2026-12773 represents a weakness in the UserAPIKeyAuth function that allows for improper authentication.

4

Which file is affected by CVE-2026-12773?

CVE-2026-12773 affects the user_api_key_auth_mcp.py file located in litellm/proxy/_experimental/mcp_server/auth.

5

Who is affected by CVE-2026-12773?

Users of BerriAI litellm versions up to 1.59.8 are affected by CVE-2026-12773.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203