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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-06-21T03:15:08.647Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-4jcj-7x88-m979, PYSEC-2026-4067
- Weaknesses: CWE-287, CWE-303
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## 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
- exploit-intelligence-tech-preview/vulnerability-analysis-rhel9: no versions given
- ansible-automation-platform-26/lightspeed-chatbot-rhel9: no versions given
- ansible-automation-platform-27/lightspeed-chatbot-rhel9: no versions given
- rhoai/odh-llama-stack-core-rhel9: no versions given
- rhoai/odh-mlflow-rhel9: no versions given
- rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9: no versions given
- litellm (PyPI): before 1.84.0
- litellm litellm: before 1.59.9

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- redhat-SADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://vuldb.com/submit/811282> (exploit, third-party-advisory, vdb-entry, web)
- <https://gist.github.com/YLChen-007/3cfaad10a69d7a15e4d4d458cb53309e> (exploit, third-party-advisory, web)
- <https://vuldb.com/vuln/372515> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/vuln/372515/cti> (permissions-required, signature, vdb-entry, web)
- <https://vuldb.com/cve/CVE-2026-12773> (third-party-advisory, vdb-entry, web)
- <https://access.redhat.com/security/cve/CVE-2026-12773> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2491112> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12773.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12773> (advisory)
- <https://github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2c> (web)
- <https://github.com/BerriAI/litellm> (package)
- <https://pypi.org/project/litellm> (package)
- <https://github.com/advisories/GHSA-4jcj-7x88-m979> (advisory)

## Sources

- CVE List: [CVE-2026-12773](https://www.cve.org/CVERecord?id=CVE-2026-12773), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-4jcj-7x88-m979](https://github.com/advisories/GHSA-4jcj-7x88-m979), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-12773](https://nvd.nist.gov/vuln/detail/CVE-2026-12773), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-4067](https://osv.dev/vulnerability/PYSEC-2026-4067), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-12773 · Whole record: https://cve.day/CVE-2026-12773.json · Rebuilt by cve.day 2026-11-25T22:59:25.315Z
