PYSEC-2026-4074
BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints
Published Oct 1, 2026 · Source: OSV.dev. Data collected Sat, 28 Nov 2026 19:06:22 GMT.
The facts
| Advisory id | PYSEC-2026-4074 |
|---|---|
| CVE | CVE-2026-12797 |
| Package | litellm PyPI: litellm |
| Published | Oct 1, 2026 |
| Source severity | Unrated in the record we received |
| Our severity | low · 40 Advisory severity: unrated · Confidence: GitHub Advisory Database / OSV · See the rules |
| Fix | No fixed version was listed in the record we received |
| Source | OSV.dev |
Summary AI summary
BerriAI litellm has a security flaw in versions up to 1.82.5, allowing remote authorization bypass via async endpoints.
Excerpt from the source
Copied from the official record, trimmed. Read the full source before acting.
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.
What to do
Update litellm to version 1.82.6 or later to mitigate the vulnerability.
Other recent advisories for this package
- GHSA-g5ff-637f-6q2m · Oct 27, 2026 · LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`
- GHSA-hhww-mrg2-969h · Oct 27, 2026 · LiteLLM vulnerable to reflected XSS in /sso/debug/callback
- GHSA-7hp6-4w63-5g45 · Oct 27, 2026 · LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
- PYSEC-2026-4076 · Oct 1, 2026 · BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens
- PYSEC-2026-4069 · Oct 1, 2026 · BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader
- PYSEC-2026-4072 · Oct 1, 2026 · BerriAI litellm: UI User Enumeration leads to System-Wide Information Disclosure
- PYSEC-2026-4071 · Oct 1, 2026 · LiteLLM: SSO Debug Flow Has Improper Authentication
- PYSEC-2026-4067 · Oct 1, 2026 · LiteLLM: MCP Proxy Has Improper Authentication
This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .