{"schemaVersion":3,"id":"CVE-2025-0628","aliases":["GHSA-fjcf-3j3r-78rp","PYSEC-2026-1546"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-20T10:10:45.400Z","modified":"2025-10-15T12:50:05.101Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00344,"percentile":0.26504,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.005999999999999972,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00338},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00344,"percentile":0.26504}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00344,"percentile":0.26504}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-266","name":"Incorrect Privilege Assignment","description":"A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/266.html"}],"affected":[{"vendor":"berriai","product":"berriai/litellm","name":"berriai/litellm","label":"berriai/litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < v1.61.15-nightly","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < v1.61.15-nightly","eol":null,"hubHref":"/vendor/berriai/berriailitellm"},{"vendor":"PyPI","product":"litellm","name":"litellm","label":"litellm","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/litellm","purlType":"pypi","versions":[{"text":"< 1.61.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.61.15","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc","label":"huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc","hostname":"huntr.com","tags":["WEB"]},{"url":"https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b","label":"github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0628","label":"nvd.nist.gov/vuln/detail/CVE-2025-0628","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/BerriAI/litellm","label":"github.com/BerriAI/litellm","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/litellm","label":"pypi.org/project/litellm","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-fjcf-3j3r-78rp","label":"github.com/advisories/GHSA-fjcf-3j3r-78rp","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-03-20T10:10:45.400Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-10-15T12:50:05.101Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:17:42.292Z","stale":false,"partial":false}}