# CVE-2026-12773: BerriAI litellm MCP Proxy user\_api\_key\_auth\_mcp.py UserAPIKeyAuth improper authentication

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-21 · Modified: 2026-07-15
- Aliases: GHSA-4jcj-7x88-m979, PYSEC-2026-4067
- Record: https://cvemate.com/vulnerability/CVE-2026-12773 · JSON: https://cvemate.com/vulnerability/CVE-2026-12773/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.604%, percentile 50.368%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- berriai litellm: 1.59.0 \| 1.59.1 \| 1.59.2 \| 1.59.3 \| 1.59.4 \| 1.59.5 \| 1.59.6 \| 1.59.7 \| 1.59.8
- litellm litellm: \< 1.59.9
- PyPI litellm (PyPI): \< 1.84.0

## References

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

---

Data as of 2026-12-05T12:39:56.772Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
