{"schemaVersion":3,"id":"CVE-2026-12771","aliases":["GHSA-qmf3-4767-5fg3","PYSEC-2026-4075"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is reported as difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.","dates":{"published":"2026-06-21T01:00:12.198Z","modified":"2026-06-22T13:33:10.626Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":4.6,"severity":"medium","vector":"AV:N/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":4.1,"impact":5.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":1.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:N/AC:H/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00431,"percentile":0.36076,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00431},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00431,"percentile":0.36076}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00431,"percentile":0.36076}]},"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":[{"id":"GITHUB_YLCHEN-007_70E4E106527F74DDF17953FF0F6C248D","name":"70E4E106527F74Ddf17953Ff0F6C248D","source":"github","url":"https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_D1CF2828CBACC4E9","name":"Exploit Reference (vuldb.com)","source":"reference","url":"https://vuldb.com/submit/811280","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"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"},{"id":"CWE-285","name":"Improper Authorization","description":"The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/285.html"}],"affected":[{"vendor":"berriai","product":"litellm","name":"LiteLLM","label":"litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.82.0","noFixRecorded":false,"fixedIn":null},{"text":"1.82.1","noFixRecorded":false,"fixedIn":null},{"text":"1.82.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.82.0 | 1.82.1 | 1.82.2","eol":null,"hubHref":"/vendor/berriai/litellm"},{"vendor":"litellm","product":"litellm","name":"litellm","label":"litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.82.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.82.3","eol":null,"hubHref":"/vendor/litellm/litellm"},{"vendor":"PyPI","product":"litellm","name":"litellm","label":"litellm","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/litellm","purlType":"pypi","versions":[{"text":"≤ 1.82.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.82.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/vuln/372513","label":"vuldb.com/vuln/372513","hostname":"vuldb.com","tags":["VDB Entry","WEB","Third Party Advisory"]},{"url":"https://vuldb.com/vuln/372513/cti","label":"vuldb.com/vuln/372513/cti","hostname":"vuldb.com","tags":["Signature","Permissions Required","WEB","VDB Entry"]},{"url":"https://vuldb.com/cve/CVE-2026-12771","label":"vuldb.com/cve/CVE-2026-12771","hostname":"vuldb.com","tags":["Third Party Advisory","WEB","VDB Entry"]},{"url":"https://vuldb.com/submit/811280","label":"vuldb.com/submit/811280","hostname":"vuldb.com","tags":["Third Party Advisory","WEB","Exploit","VDB Entry"]},{"url":"https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d","label":"gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d","hostname":"gist.github.com","tags":["Exploit","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12771","label":"nvd.nist.gov/vuln/detail/CVE-2026-12771","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-qmf3-4767-5fg3","label":"github.com/advisories/GHSA-qmf3-4767-5fg3","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-21T01:00:12.198Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-22T13:33:10.626Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:37:43.896Z","stale":false,"partial":false}}