# CVE-2025-0628: Improper Authorization in BerriAI/litellm

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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.34%, higher than 29% of CVEs (2026-12-02)
- Published: 2025-03-20T10:10:45.400Z
- Modified: 2026-09-10T03:49:48.554Z
- Also known as: GHSA-fjcf-3j3r-78rp, PYSEC-2026-1546
- Weaknesses: CWE-266, CWE-285
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

An improper authorization vulnerability exists in the main-latest version of BerriAI/litellm. When a user with the role 'internal_user_viewer' logs into the application, they are provided with an overly privileged API key. This key can be used to access all the admin functionality of the application, including endpoints such as '/users/list' and '/users/get_users'. This vulnerability allows for privilege escalation within the application, enabling any account to become a PROXY ADMIN.

(As written by CVE List.)

## Affected

- berriai berriai/litellm: from unspecified before v1.61.15-nightly
- litellm (PyPI): before 1.61.15

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc> (web)
- <https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0628> (advisory)
- <https://github.com/BerriAI/litellm> (package)
- <https://pypi.org/project/litellm> (package)
- <https://github.com/advisories/GHSA-fjcf-3j3r-78rp> (advisory)

## Sources

- CVE List: [CVE-2025-0628](https://www.cve.org/CVERecord?id=CVE-2025-0628), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-fjcf-3j3r-78rp](https://github.com/advisories/GHSA-fjcf-3j3r-78rp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-0628](https://nvd.nist.gov/vuln/detail/CVE-2025-0628), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1546](https://osv.dev/vulnerability/PYSEC-2026-1546), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-0628 · Whole record: https://cve.day/CVE-2025-0628.json · Rebuilt by cve.day 2026-11-25T22:58:55.380Z
