GitHub Advisoryadvisory · PyPI

GHSA-p897-vf7j-f5h8 BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints

LOW Published 2026-06-21 Modified 2026-09-14 Official page ↗
Aliases
CVE-2026-12797
Ecosystem
PyPI
Packages
litellm
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-285
Reviewed
2026-09-14

Affected packages

• PyPI litellm: <= 1.82.5 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-12797 A security flaw has been discovered in BerriAI litellm up to 1.82.5. vulnerability

Weakness · CWE (1)

  • CWE-285 Improper Authorization weakness

References