# PYSEC-2026-4067: LiteLLM: MCP Proxy Has Improper Authentication

- Database: PyPA
- Published: 2026-10-01
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-12773](https://cve.now/CVE-2026-12773.md): BerriAI litellm MCP Proxy user\_api\_key\_auth\_mcp.py UserAPIKeyAuth improper authentication

## Also published as

- [GHSA-4JCJ-7X88-M979](https://cve.now/GHSA-4JCJ-7X88-M979.md) (GitHub)

## Affected versions

- litellm (PyPI): fixed in 1.84.0

## Description

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.

## References

- https://nvd.nist.gov/vuln/detail/CVE-2026-12773
- https://github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2c
- https://access.redhat.com/security/cve/CVE-2026-12773
- https://bugzilla.redhat.com/show_bug.cgi?id=2491112
- https://gist.github.com/YLChen-007/3cfaad10a69d7a15e4d4d458cb53309e
- https://github.com/BerriAI/litellm
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12773.json
- https://vuldb.com/cve/CVE-2026-12773
- https://vuldb.com/submit/811282
- https://vuldb.com/vuln/372515
- https://vuldb.com/vuln/372515/cti
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-4jcj-7x88-m979

Page: https://cve.now/PYSEC-2026-4067

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
