{"cve":"CVE-2026-12797","nvd":{"published":"2026-06-21T10:16:16.870","modified":"2026-10-25T23:10:00.167","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":2.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-285","CWE-863"],"references":["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"],"products":["litellm:litellm"],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-12797","score":0.004,"percentile":0.33942,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-p897-vf7j-f5h8","url":"https://osv.dev/vulnerability/GHSA-p897-vf7j-f5h8","summary":"BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints","modified":"2026-10-01T17:56:08.092505960Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<=1.82.5"],"fixed":[]}]},{"id":"PYSEC-2026-4074","url":"https://osv.dev/vulnerability/PYSEC-2026-4074","summary":"BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints","modified":"2026-10-01T17:45:12.788897601Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<=1.82.5"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}