CVE-2026-12797
BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints
Auswirkung
A security flaw has been discovered in BerriAI litellm up to 1.82.5. Affected is the function async_pre_call_hook of the file enterprise/enterprise_hooks/banned_keywords.py of the component Completions Interface. The manipulation of the argument prompt results in incorrect authorization. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | litellm | <= 1.82.5 | nicht erfasst |
Betroffene Produkte · Litellm
| Produkt | Betroffene Versionen |
|---|---|
| Litellm | bis einschließlich 1.82.5 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-p897-vf7j-f5h8
- https://nvd.nist.gov/vuln/detail/CVE-2026-12797
- https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a
- https://vuldb.com/cve/CVE-2026-12797
- https://vuldb.com/submit/811288
- https://vuldb.com/vuln/372559
- https://vuldb.com/vuln/372559/cti